php sessions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kishanprasad
Forum Newbie
Posts: 16
Joined: Mon Feb 25, 2008 5:20 pm

php sessions

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: php sessions

Post 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.
Post Reply