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
abird"
cc:
Subject: [PHP-DB] kill
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:
I'm pretty sure you just have to set a cookie to an empty string to
delete it, i.e., no expiration time
-- Josh
-Original Message-
From: Seabird [mailto:jacco@;vliegt.nl]
Sent: Friday, November 01, 2002 7:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] killing cookie
Hi everyon
Message-
> From: Seabird [mailto:jacco@;vliegt.nl]
> Sent: Friday, November 01, 2002 7:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] killing cookie
>
> Hi everyone,
>
> I don't understand why my cookie won't be removed.
>
> I set my cookie:
>
>
you just have to set a cookie to an empty string to
> > delete it, i.e., no expiration time
> >
> > -- Josh
> >
> > -Original Message-----
> > From: Seabird [mailto:jacco@;vliegt.nl]
> > Sent: Friday, November 01, 2002 7:16 AM
> > To: [EM
php
"Seabird"
cc:
Subject: Re: [PH
"Seabird"
cc:
Subject: Re: [PHP-DB] killing cookie
re Contagious!
> > Is Yours worth Catching
> > "Josh Johnson" <[EMAIL PROTECTED]> wrote in message
> > news:004101c281d3$55b80100$8b00a8c0@;manpa...
> > > I'm pretty sure you just have to set a cookie to an empty string to
> > > delete