Hi. The problem is method setFlash is not setting variable again after use.
Little scenario: request test1 __redirect test2 ____reload test2 ______404 ( witch is wrong, i think) (see comments) class testActions extends sfActions { public function executeTest1(sfWebRequest $request) { //setting $test_me $this->getUser()->setFlash('test_me', 1); // ... and going to test2 $this->redirect('test/test2'); } public function executeTest2(sfWebRequest $request) { //if we get from test 1 we've got $test_me if( $this->getUser()->hasFlash('test_me') ) { $test_me = $this->getUser()->getFlash('test_me'); // do something with test me ... // reseting test_me so after reload we should get here again? $this->getUser()->setFlash('test_me', $test_me); // going to view ... } else { // should appeat only if user gets here directly?! $this->forward404('test me?'); } } } Why setFlash is not setting 'test_me' again? i'm using symfony 1.2.5 Thanks in advance. (sorry for me poor English) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---