I've just tested it with just a '/' in the flash

$this->flash('You are now logged out. Click here to return to the
home page.', '/');

and it works fine. I have modified the 'routes.php' file so the root is
/newsblogs/index before this problem arose. What is the problem with
the code I posted above?

Right now it fits my purposes to a point, but in the future I want to
return the user to the page/action/view that they were on when they
clicked the login or logout link, so I'm going to need to use the
syntax I posted above in the future.


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