Jump to content

Setting timeouts for sessions


MortimerJazz

Recommended Posts

No, you can change it yourself. Orio has provided the code for your which is this:
[code]ini_set("session.gc_maxlifetime", number_of_secs)[/code]

That will be needed to be added to every page that uses sessions.

Or if your account allows the use of .htaccess files then you can the following into a .htaccess file:
[code]php_value session.gc_maxlifetime "number of secs"[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.