I am using Laravel5 Auth system for my new project, I am able to use registration and login functions with out any problem but logout is not working as expected, however I g
You have not provided any piece of code that you have used. However, the following code works:
public function getLogout(){ Auth::logout(); Session::flush(); return Redirect::to('/'); }
The Session::flush();clears all the existing sessions.
Session::flush();