NickW wrote:
> $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.

Check your view files (both the layout and the view for that page) to
see if there are any relative paths that haven't been fixed.

I've run into a similar issue:
http://withcake.com/posts/view/watch_your_paths

Hope that helps,

Jonathan


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to