SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Apple Inc.
AAPL 272.56-0.5%10:45 AM EST

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Henry J Costanzo who wrote (83601)7/5/2009 4:32:47 PM
From: shlurker  Read Replies (1) of 213177
 
Cookies ... they are fixed-length strings of 'text' placed on YOUR computer, to facilitate the software that puts up a particular web page.

A very simple example is when you see as part of a web page display:

"You have visited this page 5 times"

The scrap in your computer will be encoded-text identifying the URL of the web page and a text-encoded binary number. That number has just been increased by 1 somehow by the source code of web page. 'Somehow' is outlined below:

. reads the web page's text cookie from a fixed spot on your computer( it knows where it is).
. decodes the part of this text where it knows it has placed the #visits number.
. adds +1 to the binary number
. recodes the part of the text that is the #visits number.
. stores the revised text cookie back into your computer into the same spot.

All of the processing is done by the web source code:
. get cookie
. process cookie
. store cookie

The cookie is a fixed-length UNIX-style(literally UNIX on Apple computers) text-file that is never referenced by any application on your computer(ie- it is 'read-only' when accessed by your computer.

Note that the Web page designer has no hope to create this feature without cookies. It would have to keep track of this number for EVERY web page visitor on the whole wide world web!
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext