---
# System prepended metadata

title: "2008-GHP-RM-WEB-FT \U0001F36ACookie Jar\U0001F36A: Cookies, Sessions, OAuth"

---

# 2008-GHP-RM-WEB-FT 🍪Cookie Jar🍪: Cookies, Sessions, OAuth
🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪

## Put your questions in a '##' tag below

## Example: What is JavaScript?

## if cookie is deleted and browser sends another request, the server makes a new ID that is eaxactly like the previous ID because secret is the same string?

## Answer

If the cookie is deleted, then when the server gets a new request, it generates a new session ID. The purpose of the secret is to make sure the session IDs are not predictable
