On 7/19/07, Christophe David <[EMAIL PROTECTED]> wrote:
[...]
>
> Any idea how to make an inactivity timeout that actually works ;-) ?

I developed a system with an inactivity timeout. What you need to do
is track session data on the server side. Each time the user accesses,
you update his mtime. If the delta between his last mtime and current
access is greater than your limit (e.g. 600 seconds), then you force a
time out. You could probably also track his mtime in the cookie the
same way.


-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to