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?
Thank you.
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?
Thank you.
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?
oikram is right, but make sure you read the first note on here and set a session.save_path for the domain as well.