Details
-
Type:
Bug
-
Status:
Postponed
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.2
-
Fix Version/s: Next Minor Release
-
Component/s: Zend_Session
-
Labels:None
-
Fix Version Priority:Should Have
Description
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
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()).