I am having trouble with sessions expiring early. I have created an htaccess file with the following lines:
php_value session.gc_maxlifetime 1440
php_value session.gc_probability 25
I have checked the setting using phpinfo().
The master says session.gc_maxlifetime 1440 and the local says the same. The master says session.gc_probability 1 and local is session.gc_probability 25.
When I use the htaccess file though, all my sessions expire in one minute. When I delete the htaccess file, my sessions last the full 24 minutes.
What am I doing wrong?
Thank you,
Mark