"The expires header lets the client know when it is safe to purge the 
mapping but the client is not required to do so. A client may also delete a 
cookie before it's expiration date arrives if the number of cookies exceeds 
its internal limits."

This is from http://home.netscape.com/newsref/std/cookie_spec.html .

To me, this implies that you can't count on the browser deleting a cookie 
just because you set its expires header to some time in the past.  What I 
would do to delete a cookie is to set the expires header to some time in 
the past, and also set the value to an empty string.  Then write your code 
so that it treats an empty string the same as no cookie at all.




--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to