I've given up....Sessions expire and the redirect causes issues. I thought
it was a bug, but it's not...Just an annoyance.

I don't know what's wrong with going the cookie route. With all the
redirects, I really don't see a way around it.

On Thu, Feb 21, 2008 at 10:58 PM, EchoChargen <[EMAIL PROTECTED]> wrote:

>
> I'm having a hard go of it on this still.  Has anyone else seen the
> behavior above?
> Francky - could you elaborate a little on your approach?
> Thanks,
> Jeremy
>
> On Feb 21, 12:30 am, francky06l <[EMAIL PROTECTED]> wrote:
> > I have made it work, the only thing I had problem was the first time
> > on the page but this can be fixed with Baz approach (Cookie).
> > Baz if you pass twice in befoeFilter, you can detect it by setting a
> > variable (maybe static) in beforeFiler ?
> >
> > On Feb 21, 5:32 am, EchoChargen <[EMAIL PROTECTED]> wrote:
> >
> > > Another thing of note, is if I run through the steps:
> > > 1. login, get redirected to what I have in Auth->loginRedirect
> > > 2. let session expire
> > > 3. click a link to a protected action and get redirected to
> Auth->loginAction, and in my case above get a flash message with "your
> >
> > > session timed out."
> > > 4. At this point, if I sit on the login page and let the session
> > > timeout again, then submit the login form....at this point
> Auth->authError is getting set, I get redirected back to Auth->loginAction
> >
> > > and the flash.message.auth displays the message I have configured for
> > > Auth->authError.
> >
> > > This is repeatable for me.  Is this behavior anyone else has seen?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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