Wilhelm, thanks for your time and attention. You were correct.
Deleting 'Session.cookie' did the trick.

On Sep 11, 8:50 am, rogwei <[email protected]> wrote:
> I include CookieComponent in app_controller.php and have it
> configured, but as of yet, I am not using it. I mainly incorporated it
> to test different ways to 'delete' the Session data, but as you can
> imagine, those did not work either.
>
> I see your point about the Session.cookie. I guess I was thinking of
> that as a property of the Session class and not something that I set.
> I thought one was only supposed to change the value of that property.
> I will look into that some more and report my findings. Thanks for
> your suggestion.
>
> On Sep 11, 5:35 am, Wilhelm <[email protected]> wrote:
>
>
>
> > Hi,
>
> > from looking at the code, and not doing any testing. I see that you
> > have named your session variable "Session.cookie" but in you session
> > delete statement you are trying to delete "foo". Does going this-
>
> > >Session->delete('Session.cookie'), work to solve your problem.
>
> > As a side note, I see that you are calling your variable "cookie", are
> > you using cookies in you site as well?
>
> > Regards
> > Wilhelm
>
> > On Sep 11, 6:58 am, rogwei <[email protected]> wrote:
>
> > > More...
>
> > > Tested on local MAMP platform.
> > > Also tested on remote Debian LAMP platform.
>
> > > Browsers tested...
> > > chrome on Mac and PC
> > > firefox on Mac
>
> > > On Sep 10, 9:53 pm, rogwei <[email protected]> wrote:
>
> > > > BTW, I am using Auth and ACLs, and Session.save is set to 'php'.
>
> > > > On Sep 10, 9:46 pm, rogwei <[email protected]> wrote:
>
> > > > > I have searched this forum for 'delete session' and the cakeQs forum
> > > > > for the same. I cannot find the answer. A similar post in June had no
> > > > > replies. I am about to blow a gasket! Please somebody tell me how to
> > > > > delete the session data.
>
> > > > > If users can drop into my app from history or bookmarks with data from
> > > > > a previous session, I am screwed. But currently, the session cookie
> > > > > persists beyond any attempts to delete it specifically, delete the
> > > > > entire session cookie, or destroy the session.
>
> > > > > /* core.php */
> > > > > Configure::write('Session.cookie', 'foo');
>
> > > > > /*users_controller.php */
>
> > > > >         function logout() {
> > > > >                 $this->Session->delete('foo');
> > > > >                 $this->Session->destroy();
> > > > >                 $this->redirect($this->Auth->logout());
> > > > >         }
>
> > > > > Even after the user logs out and is redirected to a *different* page
> > > > > (not login page), the data remains and is available to $session-
>
> > > > > >read(); in the view/layout.
>
> > > > > Somebody please tell me how to do the magic dance.

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

Reply via email to