Cookies can be quite confusing. Hopefully this will help you understand it. How do http sessions actually work? Here is a programmers break down for back-end developers and will give you hopefully a comprehensive understanding: Consider the following python code block: import socketserver from http.server import * from http import