Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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