add a method to clean the session
This commit is contained in:
parent
9d94b1cec5
commit
594dc59de4
|
@ -170,6 +170,11 @@ class LassoSPKitUtilsSession {
|
|||
$this->delete();
|
||||
$this->id = null;
|
||||
}
|
||||
/** Reset the state of the session */
|
||||
function clean() {
|
||||
$this->clear();
|
||||
$this->vars = array();
|
||||
}
|
||||
static function logout() {
|
||||
$athis = self::getSingleton();
|
||||
$athis->clear();
|
||||
|
|
Reference in New Issue