Session_destroy problems...

From: Date: Fri, 02 Nov 2001 22:14:36 +0000
Subject: Session_destroy problems...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73306@lists.php.net to get a copy of this message
Hi all, I am a log time lurker on this list thanks to all the major contributors who have helped me learn :-) I seem to have a problem with teh session_destroy function in that it appears not to work for me I am running RH7.1 (kernel 2.4.10) with php4.0.5 . here is the code that is not working...... if ($PHPSESSID) { session_start(); session_destroy(); } unset($PHPSESSID); ................... could anyone tell me why this does not get rid of the session marker on the browser.... as my "logout" function is failing and the above is all that is in the script !... thanks in advance richard __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com

« previous php.general (#73306) next »