Re: [phplib] destroy session From: Josh Udall (jaudall <email protected>)
Date: 09/06/00

I commented out the page_close() line - that's what I thought it was at first.
But the error remains.

Josh

On 4 Sep 2000, at 23:25, R.B. Scholtus wrote:

From: "R.B. Scholtus" <regiment <email protected>>
To: "Josh Udall" <jaudall <email protected>>,
               "phplib" <phplib <email protected>>
Date sent: Mon, 4 Sep 2000 23:25:38 +0200
Subject: Re: [phplib] destroy session

> Maybe you put a
>
> page_close()
>
> after your $sess_delete()?
>
> This means, your session data is not deleted, but will be stored at the end
> of the page.
>
> Never use a page_close() and $sess->delete() in the same file,
>
> Bye
>
> Brian
>
>
> ----- Original Message -----
> From: "Josh Udall" <jaudall <email protected>>
> To: "phplib" <phplib <email protected>>
> Sent: Monday, September 04, 2000 11:36 PM
> Subject: Re: [phplib] destroy session
>
>
> > use the $sess->delete() function. see the docs. Apparently, this doesn't
> > work with MS IE. Just put that line in the demo logout page and you get
> an
> > error "This is not coded yet". I'm not sure why it doesn't work, but in
> > Netscape works fine.
> >
> > Josh
> >
> > On 21 Aug 2000, at 15:02, darcy w. christ wrote:
> >
> > Date sent: Mon, 21 Aug 2000 15:02:00 -0400
> > From: "darcy w. christ" <darcy <email protected>>
> > To: phplib <phplib <email protected>>
> > Subject: [phplib] destroy session
> >
> > > i'm looking for a way to clear or destroy the session upon logging out.
> > > i think i might not want to destroy the actual session, but i certainly
> > > want to clear some of values. Does this mean i need to clear each of
> > > the values? How do people generally deal with this situation?
> > >
> > > The place in the code in which i want this to happen is in the standard
> > > logout.php3 which has:
> > >
> > > $auth->logout();
> > > page_close();
> > >
> > > The problem is that i cannot do it before or after the page_close();
> > >
> > > Could someone give me some advice for this situation.
> > >
> > > --
> > > ~darcy w. christ
> > > Elegant Communications Inc.
> > > 416.362.9772 x222 | 416.362.8324 fax
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > > For additional commands, e-mail: phplib-help <email protected>
> > >
> >
> >
> > ------- End of forwarded message -------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > For additional commands, e-mail: phplib-help <email protected>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>