Concept Flow - Cookie-based session management
User sends HTTP request
Server checks for session cookie
Cookie found?
No→Create new session ID
Set session cookie in response
Retrieve session data
Process request with session
Send response with cookie if new
User receives response
Browser stores/updates cookie
Next request includes session cookie
This flow shows how a server uses cookies to track user sessions by checking, creating, and sending session cookies with each request and response.
