In my controller, how do i clear the sessionStorage item?
public function logout(){
Auth::logout();
Session::flush();
return redirect('/login');
}
I stored some data inside session storage and i want to clear it after user logout. But it will only clear if the browser closed.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire