By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,723 Members | 1,876 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,723 IT Pros & Developers. It's quick & easy.

setting the session time-out after some time of inactivity

P: 1
hello everybody
i m new in php

i want to fix the time out of the session after some time of inactivity of the user
i hav tried some functions but its not working
so plz help me to solve this problame

thanks in advance
May 8 '07 #1
Share this Question
Share on Google+
2 Replies


100+
P: 136
Hi,
if u r using a session then it has a predefined time limit for expire. So u need to set the value using scripts.

If u can tell ur problem a little more and if possible show ur code then may be we can help u more. :)

hello everybody
i m new in php

i want to fix the time out of the session after some time of inactivity of the user
i hav tried some functions but its not working
so plz help me to solve this problame

thanks in advance
susen
May 8 '07 #2

Motoma
Expert 2.5K+
P: 3,235
If you are keeping track of the session using a COOKIE, you can set the session cookie to expire by utilizing the ession.cookie_lifetime variable.
May 9 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.