Thanks for the reply, Nate. I think I've narrowed down the problem a bit. The referer is only supposed to be written to the session if there is no post data available, otherwise it is just supposed to read it. For some reason the edit action is writing to the session both times....I confirmed this by adding:
$this->Session->write($this->referer() . rand()); and then printing the session at the top of the edit action. When I first hit the edit action I get one random number in the session, and then when I submit the form it redirects me to another random number. But like I said, and if you look at the edit action above, it should only write to the session if there is no post data. Any ideas would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
