O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTTP sessions

The HTTP protocol in itself is stateless; that is, it has no idea of what is accessing a web page, who can POST to a page, and so on. For the majority of HTTP servers during this period (1990s), they could be thought of as file server; that is, they serve static files over the internet. However, the modern web experience is more expansive. Consider visiting Gmail or Facebook, and the website knows who we are and we are shown customized content that is dynamically generated for us. They maintain the "state" of which article we are reading or the mail we are writing. If we were to close the browser and return to the website after a while, it can drop us right back to where we left off. Given that the HTTP protocol and HTTP servers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required