Session Timeout

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
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Session Timeout

Post by quadoc »

I've a script that keep timeout, does anyone know where I can change the session timeout time? Thanks... :cry:
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: Session Timeout

Post by flying_circus »

If you're using the standard PHP sessions, you can modify the values in the php.ini file under the [Session] section. I'm not sure exactly which value you need to change, someone with more experience can probably help you out. Though, if I were to fumble around, I'd try increasing the value of the session.gc_maxlifetime or session.cache_expire properties.
Post Reply