Signature
void session_destroy(String session_name = "uce-session")
Parameters
session_name : the name of the session
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.
Example
String id = session_start("uce-doc-example-destroy");
session_destroy("uce-doc-example-destroy");
print(id != "" ? "destroyed\n" : "empty\n");
Output
destroyed