Re: PHP session won't die!
| From: | DvDmanDT | Date: | Sun, 09 Nov 2003 01:11:52 +0000 |
| Subject: | Re: PHP session won't die! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168969@lists.php.net to get a copy of this message | ||
setcookie(session_name(),"",0,"/");
session_unset();
session_destroy();
or something like that...
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
##########################
Please, if you are using windows, you may be infected by Swen. Please go
here to find out more:
http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen
http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.html
##########################
<rob@ecomnow.com> skrev i meddelandet
news:GMail.1068319581.107634117.04016142185@localhost...
I cannot, for the love of Job, get a login session to die! I am defining
my sessions using the $_SESSION superglobal, register_globals is off, and I
have tried about 15 combinations of unset(), session_unregister(),
session_destroy(), session_unset(), $_SESSION = array(), and even setcookie
using a time in the past. As soon as a user gets back to a pagePlease, if
you can offer me any information on how a page with a session_start call,
everything is magically restored as though I never touched the sessions.
Please, if you have any idea what the DEFINATIVE way to absolutely and
completely kill this session is OR if you know where I should post this
question, I would be forever in debt!
Thanks for your time.
Rob.