Hi Mauro,

another idee would be if you add an additional parameter to your link
which describes
the language. Within your controller you could check in the init()
method for the language parameter, if it is set you could change your
session and your choosen action with parameters will be called.

<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        if(!empty($this->_getParam('lang'))) {
            // Set your Session code
        }
    }

    public function indexAction() {
        // Your action code.
    }
}

On 9/5/07, Mauro Casula <[EMAIL PROTECTED]> wrote:
>
> Have you a pice of code doing that?
> --
> View this message in context: 
> http://www.nabble.com/How-to-set-a-session-variable-and-return-exactly-to-caller-action-tf4382330s16154.html#a12493276
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


--
Mit freundlichen Grüßen
With best regards

Wolfgang Forstmeier
-------------------------------------------
+49° 34' 26.76", +11° 0' 48.60"
-------------------------------------------
mailto:[EMAIL PROTECTED]

Reply via email to