I am creating a login function and I am passing the url of the page
they were trying to access as well as other information in the
querystring using a $this->redirect in another function.

The url looks like this:
http://cake.localhost/users/login/?url=post.add&accountID=1234

When I put that in the address bar, I get the error that the requested
address could not be found.  I have setup the route:
$Route->connect ('/login/*', array('controller'=>'users',
'action'=>'login'));

Is this the correct way of setting it up?  In the manual at
http://manual.cakephp.org/chapter/7 , it states `For example, if the
URL /posts/view/?var1=3&var2=4 was called, $this->params['pass'] would
equal "?var1=3&var2=4".`


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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