Now I can't exactly duplicate the problem, unless I use the BACK problem,
and that's in IE.
But anyways, I'm glad it's working.
Just FYI, I've seen PHP code that refuses to cache IE pages once a user is
logged in. I guess this can be simulated in cake with the following:
if ($this->Auth->user())
$this->disableCache();
On Feb 13, 2008 9:13 PM, Rod D. <[EMAIL PROTECTED]> wrote:
>
> Baz,
> Awesome. I can totally blame IE because I just updated my version of
> Firefox, ran it through and everything works just like it is supposed
> to. I have no session caching issues. When I log out, I am actually
> logged out and can not go to a private controller without the login
> page appearing.
>
> Thanks much for the great help.
>
>
> Baz wrote:
> > Sorry, I missed a question. I guess I assumed:
> >
> > 5. Is most of your Auth stuff in app_controller?
> >
> > If so, then you are a required (I think) call parent::beforeFilter() in
> > every controller where you override the beforeFilter().
> >
> > This is because you are essentially nullifying everything you did in
> > app_controller() if you don't.
> >
> > As, I said before. IE sucks, it caches stuff it shouldn't be. If you
> insist
> > on using it for testing, on the action that should not be allowed:
> refresh
> > the browser and see what happens.
> >
> > On Feb 13, 2008 8:04 PM, Rod D. <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Baz,
> > > Yes, I am running IE7 on Windows XP Pro.
> > >
> > > Missed the 4 questions earlier... sorry a bout that.
> > > 1. Is $this->Auth->autoRedirect = false ???
> > > No, I never changed this setting. I just double checked at run
> > > time, and it is True.
> > >
> > > 2. In your controllers are you overriding beforeFilter?
> > > Yes, I will post the BeforeFilter below.
> > > 3. If yes to 2. are you calling parent::beforeFilter()?
> > > No.
> > > 4. If yes to 1. are you calling ? $this->Auth->logout() ???
> > > Not applicable.
> > >
> > > The following is in the Users controller:
> > > function beforeFilter() {
> > > $this->Auth->allow('register');
> > > }
> > >
> > > So, the above code I expect to allow the register controller to bypass
> > > authorization. (In other words, the register controller would be
> > > public.)
> > >
> > > Maybe I should just post my entire users controller to the list?
> > >
> > > >
> > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---