Originally posted by lencho
Quote: | Originally posted by Sharksbaja
All the cookie does is save your computer from looking up the address or contents of a page all over again every time you visit.
Typically they are comprised of GIFS, text,jpegs or HTML script. |
Detail: the images and pages stored in your browser cache, are NOT the same as cookies, and serve different purposes.
The former are stored locally by the browser at its whim to speed things up by avoiding repeated downloads of the same (usually bulky) information.
The latter (cookies) are explicitly requested to be stored on the local computer by the page author to save state information between pages since the
Web (well, HTTP) is a stateless medium and each page is loaded into what is essentially a blank slate with no memory of what the current requester of
a page has done previously. A bit hard to personalize the user experience with that setup, so the cookie was invented.
--Larry |