Cookies | Search for a title, author or keyword | ||||||||
Cookies by Rachel Evans. The original purpose of cookies — and still their best use — is to turn HTTP from a "stateless" protocol into one with some stateful behaviour. Typically when you first visit a web site, your web browser won't send a cookie (because it doesn't have any yet). The web server, seeing that you don't yet have a cookie, concludes that you've just arrived at the site, and starts a "session" for you. That session will have a unique, usually cryptic ID (for example, 038307803-86-3057687), and it's that ID which is then sent to your computer in the form of a cookie. Now every time you visit a page on that web site, the web server will know that you're using "session ID 038307803-86-3057687", and so it can remember certain information with that session — for example, the contents of your shopping basket.
|
|||||||||
Cookies | Disclaimer: this link points to content provided by other sites. |