HTTP session
26 December 2023 (Updated 2 May 2025)
An HTTP “session” is a technique for preserving data between HTTP requests from the same user. Because HTTP is a stateless protocol, there is no protocol-specific way for a server to know if two incoming requests are from the same client.
Developers use the technique of “sessions” to save data that should be preserved between multiple requests from the same user such as their name or their setting preferences (e.g., dark vs light mode).
See this link for a visual illustration.
Tagged:
HTTP
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment