History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-3324
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Ralph Schindler
Reporter: Marko
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

remember_me_seconds in ini file does not change cookie lifetime

Created: 25/May/08 05:44 PM   Updated: 15/Sep/08 02:52 PM
Component/s: Zend_Session
Affects Version/s: 1.5.1
Fix Version/s: Next Mini Release

Time Tracking:
Not Specified

Fix Version Priority: Should Have


 Description  « Hide
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.



 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Wil Sinclair - 07/Jun/08 09:38 PM
Please evaluate and fix/categorize as necessary.