Page 1 of 1

Session Timeout?

Posted: Wed Sep 11, 2002 8:55 am
by Rebajas
I use sessions to keep user details but i guess they must timeout after a 'period' of time. Anyone know if you can change the default timout time in PHP?

In the manual there are references to the cookie lifetime - i am just using plain sessions and have not set any cookies so i don't beleive this applies. I also ran across msession-lifetime but there doesn't seem to be a good example of how this is used and when...

Cheers,

Tony.

Posted: Wed Sep 11, 2002 11:50 am
by dusty
session_cache_expire() might be what you're looking for.