Speculation... but would $this->referer() help? Jeremy Burns Class Outfit
[email protected] http://www.classoutfit.com On 15 Sep 2010, at 23:01, cricket wrote: > In my login() method, how can I check which page the user was on when > they clicked the login link? > > Scenario: The site has paid membership. When the new Member arrives > back at the site from the payment gateway they'll also have received > an email with a password. If the person clicks the login link, Auth > then redirects back to the payment gateway receiving page. I'd like to > specify that, if that's the page in the session, to go to the home > page. But I can't remember where that value is stored. > > Alternatively, how can I automatically log a user in? > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
