Laravel this is not only a practical framework, it is also a programming style
I created a session by using Session::put('user', $user_details);
Session::put('user', $user_details);
So i need to unset this while logout i tried
1 . Session::flush(); 2 . Session::forget('user', $user_details);
but both didnt worked. any idea ?
Aucun commentaire:
Enregistrer un commentaire