Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.7 Preview Release
-
Fix Version/s: None
-
Component/s: Zend_Session
-
Tags:
Description
When using persistent cookies and multiple session namespaces, setExpirationSeconds does not expire data unless the session is resumed. Abandoned sessions will leave data in the sess_ files well beyond their expire time.
Requested fix is to modify the garbage collection handler to search through sessions and delete expired data.
- This bug may result in a security vulnerability where session data may be stored on the server for longer than acceptable intervals.
The behaviour described is simply how sessions work in PHP (see http://php.net/manual/en/ref.session.php).
Sessions are expired at runtime based on the gc_* family of configuration options. If PHP is not active, garbage collection will not run and the sessions will remain indefinitely.
If I have misunderstood the issue, please provide code to reproduce.