Form Tools
session timeout defaults-php sessions? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: session timeout defaults-php sessions? (/showthread.php?tid=1268)



session timeout defaults-php sessions? - JMW - May 8th, 2011

I know the documentation states that database sessions will timeout after 1 hour. Does the same apply to php sessions or do I need to specify the timeout for php sesions on my server settings?
Thanks in advance.


RE: session timeout defaults-php sessions? - Ben - May 19th, 2011

Hey JMW,

Good question, I've never changed it from whatever defaults are supplied, myself. It looks like you can set the default value via php.ini in the session.cache_expire setting:
http://www.php.net/manual/en/session.configuration.php#ini.session.cache-expire

Maybe take a look at your php.ini file and see what it has defined for that setting.

- Ben


RE: session timeout defaults-php sessions? - joyce112 - Jan 10th, 2022

Anyone who has spent time in front of a computer has most likely played solitaire. Most people recognize this as the go-to card game when they're bored in some form or another.  World of solitaire will finally allow you to take your card-playing achievements with you wherever you go!