|
|||
|
Hi,
I have a multipage form spanned across multiple controllers' actions. I'm using an instance of Zend_Session_Namespace to carry data from each step to the other, but since I need this namespace to be unique (in order to allow multiple instances of the same form), each namespace is named like: somename_ + the current timestamp. My need is to make the namespace expire when the user calls an action outside this controller which handles the form. I'm trying something like this: PHP Code:
increase the expiration hops number, but this didn't work as expected as the ExpirationHops number is set only at the first step and the namespace expires after the third step. Q: What am I doing wrong? Q: Maybe I need to unset the namespace and recreate it in order to make another call to Zend_Session_Namespace::setExpirationHops() ? Sorry for any misspellings ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|