Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Not an Issue
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.8.2
-
Component/s: Zend_Session
-
Labels:None
-
Fix Version Priority:Should Have
Description
When loading Zend_Session options via an ini file using the Zend_Session::setOptions() function, the remember_me_seconds setting in the ini file does not change the cookie lifetime. Cookie lifetime does change if the programmer calls Zend_Session::rememberMe().
Zend_Session::rememberMe() internally calls Zend_Session::rememberUntil() to set the cookie lifetime. However, Zend_Session::setOptions() does not call rememberUntil() on the remember_me_seconds option and so the cookie lifetime does not get set.
This can be mitigated by using Zend_Session::rememberMe() for this one option.
Please evaluate and fix/categorize as necessary.