Monday, January 14, 2013

Re: Form action is /login?url=login

No, it's a post.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 15 Jan 2013, at 07:06:26, Ivan Rimac <ivnrmc@gmail.com> wrote:

probably the method of the form is GET. and he is thinking, okay im in login page, if i dont have specified action, set this current url for the action.
just a wild guess. it is odd situation.


On Tue, Jan 15, 2013 at 6:58 AM, Jeremy Burns <jeremyburns@classoutfit.com> wrote:
I have a view that contains two forms; a login form and a forgotten password form. The latter is fine. The action of the login form is /login?url=login, which seems odd. The form and its controls are built using the Form helper. Any idea why ?url=login is on the url? It's the only instance of this I can in the entire app.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 



--
Ivan Rimac
tel: +385 95 555 99 66

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: