Forum Moderators: coopster

Message Too Old, No Replies

How to implement timeout warnings for session expiration?

         

artie2004

7:44 pm on Jun 27, 2007 (gmt 0)

10+ Year Member



Hi

I am looking for some examples on how to inform the user that their session is about to expire. I would like after some period of user inactivity to display a message that their session will expire and that they will be logged out. I also would like to include in this message asking the user to click a button to stay logged in. I am looking for examples that implement this feature in PHP. Thanks.

darrenG

8:35 pm on Jun 27, 2007 (gmt 0)

10+ Year Member



Not possible without JavaScript, to the best of my knowledge, unless you trigger a page load using a meta-redirect, which I would say isn't really very desirable on a usability level!