Re: CakePHP Auth Component cannot remember url before authentication

2010-04-21 Thread Prof. No Time
I got it dear. Thanks very much. I opened up the Auth component and digested it myself (Afterall, its just another component written by a brother of mine, lol). I then discovered that the session variable for storing the intended url is 'Auth.redirect', so I leveraged on it by checking it and

Re: CakePHP Auth Component cannot remember url before authentication

2010-04-19 Thread Prof. No Time
Thanks for the response Cricket, I have dumped my codes below. Please assist me. Regards. My AppController::beforeFilter() function beforeFilter(){ $this-Auth-fields = array('username' = 'username', 'password' = 'passkey'); $this-Auth-allow($this-allowedActions); $this-Auth-authorize =

Re: CakePHP Auth Component cannot remember url before authentication

2010-04-19 Thread cricket
On Apr 19, 6:19 am, Prof. No Time libertylivingst...@gmail.com wrote: Thanks for the response Cricket, I have dumped my codes below. Please assist me. Regards. My AppController::beforeFilter() function beforeFilter(){   $this-Auth-fields = array('username' = 'username', 'password' =

Re: CakePHP Auth Component cannot remember url before authentication

2010-04-16 Thread cricket
On Apr 16, 1:40 am, Prof. No Time libertylivingst...@gmail.com wrote: In the cook book, we are told that the auth component uses the session component to remember the url the user intended to visit and hence when authenticated, automatically takes the user there. However, this DOES NOT WORK

CakePHP Auth Component cannot remember url before authentication

2010-04-15 Thread Prof. No Time
In the cook book, we are told that the auth component uses the session component to remember the url the user intended to visit and hence when authenticated, automatically takes the user there. However, this DOES NOT WORK for me (cake 1.2.5). What could be the problem? Thank you. Check out the