Support the ongoing development of Laravel.io →
posted 10 years ago
Session
Last updated 2 years ago.
0

Well, if I understand correctly, you're going to need to compare times. So when a user logs in, set a session with the time they logged in. And then inside of a Route filter or somewhere, you can check to see if that time exceeds an hour.

Read over the first answer to this stackoverflow question

Good luck.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

prgmsaha prgmsaha Joined 20 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.