Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

destroy 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: #destroy #remove #session #laravel
ADD COMMENT
Topic
Name
9+2 =