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

Key: ZF-2083
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Ralph Schindler
Reporter: Marc Bennewitz
Votes: 2
Watchers: 1
Operations

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

Can't register session validator before session is started

Created: 17/Oct/07 03:25 PM   Updated: 30/Apr/09 12:40 PM  Due: 23/Jan/09
Component/s: Zend_Session
Affects Version/s: 1.0.2
Fix Version/s: Next Minor Release

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Remaining Estimate - 2 hours

 Public Fields   Internal Project Management Fields   
Tags:
Participants: Darby Felton, Marc Bennewitz, Ralph Schindler and Wil Sinclair
Fix Version Priority: Should Have


 Description  « Hide
on register a session validator using registerValidator it store the validator informations in the session before it is started

Therefore the following code is not applicable:

Zend_Session::setOptions( array(/* ... */) );
Zend_Sesion::registerValidator( new Zend_Session_Validator_HttpUserAgent() ); // this will write data in $_SESSION['__ZF']['VALID']

// ...

// action that use sessions
$mysession = new Zend_Session_Namespace('mysession');  // this will start the session if it is not started


 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Darby Felton - 07/Nov/07 12:52 PM
Changed priority to minor, since an easy workaround is present (start the session first; e.g., in your bootstrap or elsewhere, call Zend_Session::start()).

Wil Sinclair - 21/Mar/08 05:05 PM
This issue should have been fixed for the 1.5 release.

Wil Sinclair - 18/Apr/08 01:11 PM
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Ralph Schindler - 22/Apr/08 10:48 AM
I will have to explore the problem in more detail.

Updating project management info.


Ralph Schindler - 10/Jan/09 10:08 AM
Will evaluate within 2 weeks