Do you have sample vode for those Andy? I've also been banging my head
against 1.2 Auth for about 3 days and i'm tempted to rip it out and
write my own - which I expect to take about 2 hours.

On Feb 5, 11:08 pm, AD7six <[EMAIL PROTECTED]> wrote:
> > 2. When refresh a exprired auth page , it'll jump to login page. But
> > how can go back to the same page after relogin
>
> In your login function add this sort of logic:
>
> if ( the referer isn't in the session) {
>   put it in the session
>
> }
>
> In your app controller before filter tell the auth component to
> redirect after login to the location you put in the session
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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