Imagine a Web server that maintains a table in which client IP addresses aremapped to the most recently accessed Web pages. When a client connectsto the server, the server looks up the client in its table, and if found, returnsthe registered page. Is this server stateful or stateless?
It can be strongly argued that this is a stateless server. The important issuewith stateless designs is not if any information is maintained by the server onits clients, but instead whether that information is needed for correctness.In this example, if the table is lost for what ever reason, the client and servercan still properly interact as if nothing happened. In a stateful design, suchan interaction