Session::delete (method)

Return to Knowledgebase

Purpose

Deletes the current session

Location

users/classes/Session.php

Parameters

This function does not take any arguments

Example

Session::delete('sessionName')

Further Documentation:

Deletes the session when provided the session name. Session name can be found in init.php.
Session::delete('user');