Bernard Grosperrin wrote: > I would like to improve my rather crude login system. For now, after > login, I redirect the user to '/', or the "Home" page. > I would like to "trap" or retrieve the URL the user intended to go to, > pass it as parameter to my login function, to redirect to this URL > instead of Home.
Maypole (a Perl MVC project) and Catalyst (and other projects) have a nice way of stopping a user for authentication (so if I requested /home but needed to be authenticated first then /home would bring up an login page instead). After logging in the user would be sent to /home. I would like to see this sort of flow available in Cake as well. I just haven't gotten around to it :-) Matt -- BASIC: A programming language. Related to certain social diseases in that those who have it will not admit it in polite company. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
