Creating Web Apps  «Prev 

What is a Cookie?


HTML 5

Web Cookie Process

1) When a user visits a website, the URL of the website is passed to the web server.

2) When visiting the website, the user performs an activity such as buying a coat.

3) Information about what the user purchased, along with some personal information about the user, is then sent to the web server.

4) The server then passes the cookie to the user's computer.

5) The next time the user visits that web site, a banner ad for coats are displayed. This is one way cookies are used to customize a website based on information provided by the user.