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
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 =
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' =
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
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