I understand that if an expiration time is not set, the cookie should
expire at the end of the session (when the browser is closed). This is
not happening.
What is wrong here?
I would actually prefer for the cookie to expire when the user left the
Web site. Any ideas?
Thanks,
--
David A
Can't read your mind, bud.
Show us your code...
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 2:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Cookies not expiring
I understand that if an expiration time is not set, the cookie should
To: 'David McInnis'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cookies not expiring
Can't read your mind, bud.
Show us your code...
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 2:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Cookies not expiring
: Thursday, March 14, 2002 9:04 AM
To: 'Rick Emery'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cookies not expiring
Here is what I am using to set my cookie.
$cp_sessionid = $CP_partnerid . _ .
uniqid(str_pad(getenv(REMOTE_ADDR), 15, 0));
setcookie('cp_sessionid', $cp_sessionid);
David McInnis
]
Subject: RE: [PHP] Cookies not expiring
Here is what I am using to set my cookie.
$cp_sessionid = $CP_partnerid . _ .
uniqid(str_pad(getenv(REMOTE_ADDR), 15, 0));
setcookie('cp_sessionid', $cp_sessionid);
David McInnis
-Original Message-
From: Rick Emery [mailto:[EMAIL
: Thursday, March 14, 2002 7:07 AM
To: 'David McInnis'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cookies not expiring
OK...that looks valid.
Now, what indications are you getting that the cookie is not expiring
when
you close the browser?
As far as expiring when user leaves the web-site? M.C. Hammer said
6 matches
Mail list logo