Do all websites use sessions?
Not all applications need a session.
For example, a calculator application that waits for a calculation and directly
sends the result does not need to keep track of the client:
- Each request is independent of the others
- The server can directly respond to each request
The server does not have to know who is the author of the request: it can send
the result directly to the client.
In this case, the server does not need to use HTTP sessions and is, therefore,
stateless.