mardi 2 mai 2017

Laravel 5 Auto logout — Session

I had a lot of research about it, but doesn't get a right answer. Also the person who asked it didn't have a response either. I know that it is not the right way to put on every page the check to check if Auth::check() and it looks messy on every page. Like on almost banking website, if you don't have an activity after a minute then you are going to logout automatically without refreshing the page, I think it is an ajax request. Do you have any suggestion about it? a proper or best practice to do it? Im using laravel5.1

Need your help guys. It also help other developers, and so, they may implement your answers.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire