How to 'trap' an expired session in J! 1.0.13?

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
User avatar
edward_cox
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Aug 30, 2007 3:05 am

How to 'trap' an expired session in J! 1.0.13?

Post by edward_cox » Wed Jan 23, 2008 5:41 am

Hello All,

I would like to be able to trap an expired user session in Joomla 1.0.13.
What I mean is that when a user leaves a session open, walks away from the PC, and tries to access the site they are forced to Login again - which is fine, but as this is 'similar' to a user logout I would like to record the Date/Time in my table.

Is there a way to identify when a session has expired? and where would I start to look to find it in the code?

Thank you!

Ed Cox

Post Reply