Hardie
301
2
Laravel

Laravel Login/Logout multiple authentication

Posted 3 years ago by Hardie

Hi, I am new in laravel, I'm facing one problem in laravel 5 login and logout.

Login and logout is working fine for me but if I click on return back (using browser back button) after logout it returns dashboard page. I know may be its browser cache issue but how can I resolve it please suggest a way.

I tried Response::header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0') but it gives error, Actually I really don't know how to use it.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.