Saturday, January 15, 2011

Cookies for the Beginners


A Cookie is a small text file that is either saved on a client’s hard drive or client’s web browser. It contains site specific information that the server sends to the client along with the page output. The cookies are saved on the client device, and whenever the browser requests for a page, the information in the cookie is sent to the server by the client. The cookie is then read and its value is extracted by the server. Cookies are associated with a Web Site not with a specific page, so the browser and the server will exchange cookie information. Hence, it doesn’t matter which page the user requests from your site.

No comments:

Post a Comment