I\'ve seen this advice...
ideally the web should follow the REST principle and be completely stateless. Therefore a single URL should identify a singl
It is okay to maintain resource state. The "stateless prohibition" just refers to session state.
Here's an excerpt from Roy Fielding's seminal REST derivation:
We next add a constraint to the client-server interaction: communication must be stateless in nature, as in the client-stateless-server (CSS) style of Section 3.4.3 (Figure 5-3), such that each request from client to server must contain all of the information necessary to understand the request, and cannot take advantage of any stored context on the server. Session state is therefore kept entirely on the client.