https://htyp.org/mw/index.php?title=HTTP/cookie&feed=atom&action=historyHTTP/cookie - Revision history2024-03-28T21:49:01ZRevision history for this page on the wikiMediaWiki 1.35.0https://htyp.org/mw/index.php?title=HTTP/cookie&diff=12047&oldid=prevWoozle: mainly so I have a place to put this discovery in case I run into the same problem again2009-07-26T15:53:56Z<p>mainly so I have a place to put this discovery in case I run into the same problem again</p>
<p><b>New page</b></p><div>==Overview==<br />
In [[HTTP]], a cookie is a piece of information sent to the [[web browser]] for the browser to send back to the [[web server]] on subsequent requests. Cookies are most commonly used to identify of a particular user across multiple accesses, but they can also be used to store preferences and other persistent-state information without specifically tracking a given user.{{seedling}}<br />
==Programming==<br />
In [[PHP]], the [[PHP/_COOKIE|$_COOKIE]][] built-in global array and [[PHP/setcookie|setcookie]]() function are the most common means of retrieving and setting cookies, but PHP does have an [http://php.net/cookie extensive selection] of cookie-management functionality.<br />
==Notes==<br />
Apparently the distinction between a cookie named "vbzcart.key" and another named "vbzcart_key" is ambiguous.<br />
I was having trouble using the former (it never seemed to be retrievable), so I changed the name to the latter -- and then found that I had two cookies. Retrieving the value of "vbzcart_key" gave me the value "vbzcart.key" (as indicated by the cookie list in Firefox 3). Deleting the "vbzcart.key" cookie from Firefox solved the problem. --[[User:Woozle|Woozle]] 15:53, 26 July 2009 (UTC)<br />
==Links==<br />
* {{wikipedia}}</div>Woozle