19 lines
418 B
Plaintext
19 lines
418 B
Plaintext
:sig
|
|
void session_destroy(String session_name)
|
|
|
|
:params
|
|
session_name : the name of the session
|
|
|
|
:see
|
|
>session
|
|
|
|
:content
|
|
Deletes the cookie specified by `session_name` and clears the data stored under the current session ID.
|
|
|
|
This also empties `context.session_id` and `context.session`.
|
|
|
|
Related:
|
|
|
|
- PHP: `session_destroy()`
|
|
- JavaScript / Node.js: Express session store teardown or manual cookie-session invalidation
|