8 months agoby Sunil kumar b V

Auto Logout automatically to login page after session expires in laravel

Hi, I have done session expire by setting a lifetime variable in session.php file to 2minutes.

After refresh, the page redirects to the login page.

Problem: It will redirect after a refresh.

Expected output: Is their way in laravel where we can redirect to some URL if the session expires automatically?

Kindly help on this.

Ask Question
Most Visited