dimanche 13 novembre 2016

Laravel: How to display a message when the session timeouts?

I know that Laravel sets automatic timeouts when the user or the page has been idle depends on your session lifetime.

This my code in my view (login.blade.php).

@if (Session::hasExpired() ) <div class="alert alert-info"> <p> Your session has expired. Please login back!. </p> </div> @endif



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire