Saving GET/POST variables on redirection

Hi,

When I am using redirections: $this->response->redirect('signin');

Is there any way to save GET and POST variables?

Jagg

can you show us more of you code?

edited Jul '14

Signin page:

<form action="/phalcon/signin/validate" method="post">
        <input type="text" id="user_name" name="user_name">
        <input type="password" id="password" name="password">
        <input type="submit" value="Signin">
</form>

validateAction in signin controler

    public function validateAction()
    {
        $user_name = $this->request->getPost("user_name", "string", null);
        $password = $this->request->getPost("password", "string", null);

        if ($this->validateLoginn())
        {
            $this->view->disable();
            $this->response->redirect('welcome');
        }
        else
        {
            /*
                Here I need to forward POST data to indexAction of signin controler
            */
            $this->view->disable();
            $this->response->redirect('signin')->sendHeaders();
        }
    }

jagg

may be using persistent

I resume this thread because i am interested too....some ideas? :)