Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

destory session in laravel

Route::get('destory', function () {
   session()->forget(['user']);
   return redirect('session_get');
});
Source by laravel.io #
 
PREVIOUS NEXT
Tagged: #destory #session #laravel
ADD COMMENT
Topic
Name
6+9 =