Are you using Auth?  Try:

$this->Auth->loginRedirect = Controller::referer('/see/documentation',
true);

http://api.cakephp.org/1.2/class_controller.html#e87c8e6edf53aadc511e3d050d71a494

On Mar 3, 3:44 am, bob <[EMAIL PROTECTED]> wrote:
> If I click on a link in my view, it redirects to the login page (i check if
> logged in via beforeFilter() in the controller). After i login, i want to
> redirect to the page that I clicked on, not another page. how do i do this
> in cakephp 1.2? thanks
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to