You can have a hidden field in all forms, or keep a queue of callbacks stored in session.
In the boostrap file you can store the request uri and keep 1,2, 10, 20 or any number you want of url callbacks, stored in key-value pairs. Example: In any moment you can ask for the "module:default-controller:customers-action:list" and the callback queue will return the saved request uri, depending on the number of tracked URIS. 2007/9/5, Mauro Casula <[EMAIL PROTECTED]>: > > Hi all, > I have a problem: > I have to develop an Action that have to set a session variable ( switch of > language ) and return exactly in the action from where it was called.. With > parameters too.. > > For example.. suppose we are in a page being called: > > www.domain.ext/controller/action?param=value¶m=value > > So we click on a flag trying change the language. An Action > ChangelanguageAction will be called.. > inside this Action i want to set a variable and to return to the previous > Action.. > > Any Idea? > > Waiting help from all you.. > > Best Regards to all and very compliments for all.. > > Mauro Casula. > -- > View this message in context: > http://www.nabble.com/How-to-set-a-session-variable-and-return-exactly-to-caller-action-tf4382330s16154.html#a12492686 > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Xavier Vidal Piera Enginyer Tècnic Informàtic de Gestió Tècnic Especialista Informàtic d'equips [EMAIL PROTECTED] http://web.xaviervidal.net 610.68.41.78
