Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

forget or remove a session in laravel

//remove single session
Session::forget('Sessionkey');
//remove multiple sessions
Session::forget(['sessionKey1', 'sessionkey2']);
//remove all sessions
Session::flush();
 
PREVIOUS NEXT
Tagged: #forget #remove #session #laravel
ADD COMMENT
Topic
Name
2+1 =