Ends the current session and deletes it from the server.
# Metadata
Platforms: server OS: mac, windows, linux Introduced: 5.0 Security:
# Syntax
delete session
# Examples
delete session
# Description
Use the delete session command to end the current session, expiring the session cookie and discarding any values contained in the $_SESSION variable.
# Tags
# See
- **command:** stop session, start session - **property:** sessionSavePath, sessionLifetime, sessionId, sessionName