clear
Clears a session instance for name.
Throws
if no session provider is registered with for name
Clears a session with the specified sessionId for the session name.
Parameters
name
the session name
sessionId
the session ID to invalidate
Throws
if no session provider is registered with for name or the session provider doesn't use session IDs
if the session provider doesn't support clearing by ID