0% found this document useful (0 votes)
131 views3 pages

Cookies

Cookies are small files stored on a user's computer that track information. When a user requests a webpage, the server embeds a cookie on the user's computer. Each subsequent request from that computer sends the cookie back to the server, allowing the server to identify the user. There are three steps: 1) the server sends cookie data to the browser, 2) the browser stores the cookies locally, and 3) future requests from the browser send the cookies back to the server to identify the user.

Uploaded by

Khagesh Josh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views3 pages

Cookies

Cookies are small files stored on a user's computer that track information. When a user requests a webpage, the server embeds a cookie on the user's computer. Each subsequent request from that computer sends the cookie back to the server, allowing the server to identify the user. There are three steps: 1) the server sends cookie data to the browser, 2) the browser stores the cookies locally, and 3) future requests from the browser send the cookies back to the server to identify the user.

Uploaded by

Khagesh Josh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

cookies

What is cookies?

 Cookies are small files which are stored on a user's computer which are used to
track information.
 A cookie is a small file that the server embeds on the user's computer.
 Each time the same computer requests a page with a browser, it will send the
cookie too. With PHP, you can both create and retrieve cookie values.
Steps
 There are three steps involved in identifying returning information:
1. Server script sends a set of cookies to the browser. For example name, age, or
identification number etc.
2. Browser stores this information on local machine for future use.
3. When next time browser sends any request to web server then it sends those cookies
information to the server and server uses that information to identify the user.

You might also like