Creating Web Apps  «Prev 

What is a Cookie?


HTML 5

Web Cookie Process

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

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

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

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

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.