Page 1 of 1

php sessions

Posted: Tue Sep 30, 2008 7:24 am
by kishanprasad
HI,
in my app i want to echo a message when my app session was timed out
my app session was 10 mins
please tell me how can i do this ..



Thanks in advance

Re: php sessions

Posted: Tue Sep 30, 2008 1:13 pm
by RobertGonzalez
You might need to use a cookie or a database value to see if there was a session alive and then let the user know their session timed out after the next page load.

If you are looking to do this client side (like as soon as the time out ocurred letting the user know) then you will need some javascript to handle that, which you might be able to find in the Client Side forum.