note 12535 deleted from function.session-destroy by jimw

From: Date: Fri, 07 Dec 2001 00:45:58 +0000
Subject: note 12535 deleted from function.session-destroy by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21733@lists.php.net to get a copy of this message
Because I receive errors about an "uninitialized session" when using session_destroy() I use the following commands instead : unlink(session_save_path().'/sess_'.$PHPSESSID); setcookie('PHPSESSID','',time()-3600,'/'); Seems this does do the job just fine...

« previous php.notes (#21733) next »