Welcome Guest, Not a member yet? Register   Sign In
Creating an event when the session ends
#1

[eluser]giovannidc[/eluser]
Good day,

I need to keep a log of when a user logs in and out of a system. My problem is that not all users click the log out button so I thought it would be best to check when the session closes.

I've set up my session to be encrypted, to use the database and to expire on close. Is there a way, maybe using a cron job to check if the user's session has expired?
#2

[eluser]giovannidc[/eluser]
Any ideas on this?




Theme © iAndrew 2016 - Forum software by © MyBB