From the course: Computer Science Principles: The Internet

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Remembering requests with cookies

Remembering requests with cookies

From the course: Computer Science Principles: The Internet

Start my 1-month free trial

Remembering requests with cookies

- Each time you open the browser and open a web page, it is a unique request, as if you've never visited the website before. Many sites require that you log on to an account, or there might be some configuration settings or reminders that you have turned on or off with various websites. When you make a new request after you shut down the web browser, all those things the browser remembers are forgotten. The time that you're on a site is called a session. As you do things during that session, there are things you can do to configure the site. But when the browser is shut down, the session is over and the information is lost. Browser cookies aren't filled with chocolate chips, but they do remember the bits about your browser sessions to make it easier to work with various websites. For instance, if you're on a site and you decide to log in, the browser asks for your user name and password. When that is entered, the site tells the browser that it can save the user name as a cookie. Why…

Contents