[Bug 1237343] [NEW] session.gc_maxlifetime ignored by garbage collector

unsen unsen at gmx.net
Wed Oct 9 11:00:47 UTC 2013


Public bug reported:

i used to set the session livetime for a php session in .htaccess:

.htaccess:
php_value session.gc_maxlifetime 3600

so unfortuately this isn't working anymore sice the garbage collector
ist deleting unused sessions every 1440 seconds.

/usr/lib/php5/maxlifetime:

#!/bin/sh -e

max=1440
...

where 1440 seems not to be minutes but seconds!

so every configuration about session-lifetimes in any htaccess or other
confuguration files  is for nothing because the garbage-collector will
delete any unused sessions every 24 Minutes.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apache maxlifetime php5 session

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1237343

Title:
  session.gc_maxlifetime ignored by garbage collector

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1237343/+subscriptions



More information about the Ubuntu-server-bugs mailing list