Changes to cookies ?
| From: | Chris Mason | Date: | Mon, 30 Oct 2000 14:19:13 +0000 |
| Subject: | Changes to cookies ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22682@lists.php.net to get a copy of this message | ||
Everything I have read indicates the you write cookie handling code in
reverse, i.e. write the cookie before you erase the old value. However, my
experience is that it works in reverse to that.
Has it changed from PHP3 to 4, or am I missing something.?
This code doesn't work, but it ought to by everything I have read:
setcookie("name",$name, time() + 90 * 86400);
setcookie("email",$email, time() + 90 * 86400);
setcookie("name");
setcookie("email");
Chris Mason
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
USA Fax (561) 382-7771
Take a virtual tour of the island
http://net.ai/ The Anguilla Guide
Find out more about NetConcepts
www.netconcepts.ai
Talk to me in real time with Instant Messenger: masonc92@hotmail.com