Re: session_destroy() failes
| From: | Daniel Beulshausen | Date: | Fri, 20 Oct 2000 10:19:13 +0000 |
| Subject: | Re: session_destroy() failes | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3404@lists.php.net to get a copy of this message | ||
it'll be fixed in the next php release as well.
daniel
> I hope that helps:
>
> session_unset();
> @session_destroy(); // suppress warning
> // As this does not work we have to destruct the session ourselves
> $session_file = session_save_path() . "/sess_" . $PHPSESSID;
> session_id($PHPSESSID);
> unlink($session_file);
> setcookie(session_name());
>
> Florian
>
> Rémy Dufour wrote:
> >
> > Hi,
> >
> > I've try to remove file but i cant... How did you do this ?
> > Thanks.
> >
> > ----- Original Message -----
> > From: Florian Clever <clever@ukl.uni-freiburg.de>
> > To: <martinv@wxs.nl>; <php-windows@lists.php.net>
> > Sent: Thursday, October 19, 2000 2:06 AM
> > Subject: RE: [PHP-WIN] session_destroy() failes
> >
> > > Hi,
> > >
> > > I have the same problem. I am destroying the session myself. That
means
> > > killing the cookie + the file.
> > >
> > > Florian
> > >
> > > >Sorry,
> > > >
> > > >After looking in the bugbase I found out that this is already an
issue.
> > Has
> > > >something to do with unlinking the session file. It only happens
under
> > > >Windows. I guess I just have to wait for the latest maintenance
release.
> > > >
> > > >Next time I will query the bugbase first... ;-)
> > > >
> > > >Martin Verstegen
> > >
> > >
> > > --
> > >
> > > Florian Clever
> > >
> > > fc@clever-soft.com
> > > http://www.Clever-Software-Solutions.de/
> > >
> > > PGP Key @ ldap://certserver.pgp.net/
> > >
> > > ....Every morning is the dawn of a new error...
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > >
> > >
>
> --
>
> Florian Clever
>
> fc@clever-soft.com
> http://www.Clever-Software-Solutions.de/
>
> PGP Key @ ldap://certserver.pgp.net/
>
> Software never has bugs. It just develops random features.
/*--
daniel beulshausen - daniel@php4win.de
using php on windows? http://www.php4win.de