Ends the session explicitly, saving the contents of the $_SESSION variable.
# Metadata
Platforms: server OS: mac, windows, linux Introduced: 5.0 Security:
# Syntax
stop session
# Examples
stop session
# Description
Use the stop session command to end the session explicitly and save the contents of the $_SESSION variable.
The location where the $_SESSION array is stored is configured using the sessionSavePath property.
# Tags
# See
- **command:** start session, delete session - **property:** sessionSavePath, sessionLifetime, sessionId, sessionName