cleanup, docs
This commit is contained in:
@@ -12,7 +12,8 @@ Deletes the cookie specified by `session_name` and clears the data stored under
|
||||
|
||||
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
|
||||
:example
|
||||
String id = session_start("uce-doc-example-destroy");
|
||||
session_destroy("uce-doc-example-destroy");
|
||||
print(id != "" ? "destroyed\n" : "empty\n");
|
||||
|
||||
Reference in New Issue
Block a user