[thelist] php session timeout
kasimir-k
kasimir.k.lists at gmail.com
Sun Jul 1 12:08:00 CDT 2007
Bob Meetin scribeva in 01/07/2007 16:13:
> I could probably google this and get more information than I can review
> in a lifetime or ask the list.
Oh my, has STFG made RTFM forgotten :-)
> With the hosting service I use they seem to have a default timeout of
> about 30 minutes (between 30-45) built in on the Apache server. I don't
> have access to the php.ini file but I can run phpinfo.php and can update
> my .htaccess file. Is there anything fairly simple I can do to up the
> limit or do I need to write some additional timeout stuff into my php
> scripts.
<http://www.php.net/manual/en/ref.session.php> is the manual page you
are interested, session.gc_maxlifetime and session.cookie_lifetime are
the relevant conf options. Both can be set enywhere, including .htaccess.
.k
More information about the thelist
mailing list