-
Notifications
You must be signed in to change notification settings - Fork 0
endSession
Corey Avis edited this page Sep 23, 2026
·
2 revisions
Completely destroyes the session. Clears memory variables, deletes the session cookie from the client browser with matching parameters, and destroys the session storage on the server.
endSession(): bool
- Takes no arguments.
(bool)
: Returns true, always.
$cphp->endSession();
- No debug errors.
clearSession | getSession | regenSession | removeSession | setSession | startSession