RE: [PHP] Cookies not expiring (RESOLVED)

From: Date: Thu, 14 Mar 2002 21:03:03 +0000
Subject: RE: [PHP] Cookies not expiring (RESOLVED)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88571@lists.php.net to get a copy of this message
OK, I guess I found the problem. RealOne Media player from real networks uses Explorer within its program and I was not closing the RealOne Player therefore it was holding onto the cookie. Thanks, David McInnis -----Original Message----- From: Rick Emery [mailto:remery@excel.com] Sent: Thursday, March 14, 2002 7:07 AM To: 'David McInnis'; php-general@lists.php.net 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 it best...can't touch that -----Original Message----- From: David McInnis [mailto:david@dataovation.com] Sent: Thursday, March 14, 2002 9:04 AM To: 'Rick Emery'; php-general@lists.php.net 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:remery@excel.com] Sent: Thursday, March 14, 2002 6:01 AM To: 'David McInnis'; php-general@lists.php.net Subject: RE: [PHP] Cookies not expiring Can't read your mind, bud. Show us your code... -----Original Message----- From: David McInnis [mailto:david@dataovation.com] Sent: Thursday, March 14, 2002 2:25 AM To: php-general@lists.php.net Subject: [PHP] Cookies not expiring 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 McInnis Information Technology Manager CareerPerfect.com(r) -- solutions for a perfect career(sm) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#88571) next »