Re: killing cookie

From: Date: Fri, 01 Nov 2002 18:19:28 +0000
Subject: Re: killing cookie
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22897@lists.php.net to get a copy of this message
try setcookie('user',''); On Fri, 1 Nov 2002, Seabird wrote: > Hi everyone, > > I don't understand why my cookie won't be removed. > > I set my cookie: > > setcookie('user',$_SESSION['username'],time()+36000); > setcookie('pass',$_SESSION['password'],time()+36000); > > I kill my cookie: > > setcookie('user','',time()-60); > setcookie('pass','',time()-60); > > but it doesn't work..... why not?? > Jacco > > -- > http://seabird.jmtech.ca > > Attitude is Everything! > But Remember, Attitudes are Contagious! > Is Yours worth Catching???? > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --------------------------------------------------------------------------- Peter Beckman Systems Engineer, Fairfax Cable Access Corporation beckman@purplecow.com http://www.purplecow.com/ ---------------------------------------------------------------------------

« previous php.db (#22897) next »