busboy — 2011-03-24T15:13:30-04:00 — #1
I maintain few different domains in one account at my ISP. How do I go about making a change to the timeout time for a session on one domain, but not all of the others?
oikram — 2011-03-24T17:06:36-04:00 — #2
I'm not sure of this. That seems to be more like a server admin question then a programming question.
If you have a local php.ini file for each host then try editing:
session.gc_maxlifetime = 14400
If you don't have a local php.ini file, then try something like this on your htaccess file:
php_value session.gc_maxlifetime 14400
Does this worked?
scallioxtx — 2011-03-24T17:28:06-04:00 — #3
oikram is right, but make sure you read the first note on here and set a session.save_path for the domain as well.