-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
sessionDestroy
Description
Removes all data for the specified session ID from the database.
Syntax
bool sessionDestroy (string $session_id)
Parameter $session_id
Expected type: String
Description: A valid PHP session ID
Return value
Expected type: Boolean
Description: False if the session ID is invalid, true if the query succeeded (regardless of whether or not anything was deleted) or dies with an error if there was a problem
Notes
- Used as the 5th callback argument for session_set_save_handler
- Only used when database-driven sessions are enabled
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.127 seconds with 13 queries.
- Forum Search