webCOMAND

session::destroy()

Remove the session and all of the corresponding data so it can no longer be retrieved.

Prototype

void destroy()

Example

// remove the session and corresponding data
$session = new \io_comand_web\session();
$session->destroy();