Re: PHP 4.0 Bug #6983: session_destroy() does not remove session

From: Date: Tue, 03 Oct 2000 12:10:38 +0000
Subject: Re: PHP 4.0 Bug #6983: session_destroy() does not remove session
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-34149@lists.php.net to get a copy of this message
from what I remember,session-destroy doesn't delete the session cookie (least I haven't see the code to do that in session.c). try session_destroy(); Header("Location: <homepageurl>"); SetCookie (session_name(),'',0,'/');
IIRC this ought to, session_destroy() destroys session data not session itself regards, andré

« previous php.dev (#34149) next »