Jump to content

Using timeout


rascle

Recommended Posts

Theres no "time out" per say, not automatic at least (i don't think, i could be wrong). Only way to really do something is upon login set a DATETIME style timestamp somewhere. Be it via session, in a column on the table, whatever. And while the user is active have it regularly update that timestamp. But only updating it if the one stored however you stored it is still less than the current time. Or set timestamp 15 or 20 minutes in the future and if the time() now is greated than the time stamp stored the login expires, and the timestamp doesnt update.

 

I know this is all a bit vague, but im half asleep right now waiting on help to something I am stuck on. Hopefully I make more sense then I think I am currently being tired like this and trying to make sense is a bad combination. Anyway good luck

Link to comment
https://forums.phpfreaks.com/topic/220720-using-timeout/#findComment-1143168
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.