Although a protocol is going to stateless if there is no relation between subsequent request-response pairs. A server can handle each request uniquely and does not have to keep a session state for the client. This does not keep track of configuration settings, transaction information or any other data for the next session. The HTTP protocol is a stateless protocol. It means that a Web server treats each HTTP request for a page as an independent request. A server retains no knowledge of variable values that were used during previous requests.
Where there is a purely stateless environment, you will not need any type of session ID. Every request would contain all the information the server would need to process. However many applications need to maintain state to keep track of whether or not a session is authenticated to view certain content or to keep track of what a user is doing. Into the asp.net session state identifies requests from the same browser during a limited time window as a session and provides a way to persist variable values for the duration of that session.
The ASP.NET-MVC, however, does not use server-side controls so it doesn't have to maintain state. An MVC model separates the problem domain into the three partitions so that data is delivered to the client in a streamlined manner.
The full means of state is that there is memory of the past. The Previous transactions are remembered and may affect the current transaction.
Liked By
Write Answer
What is stateless Protocol ?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
17-Jun-2019Stateless Protocol
Although a protocol is going to stateless if there is no relation between subsequent request-response pairs. A server can handle each request uniquely and does not have to keep a session state for the client. This does not keep track of configuration settings, transaction information or any other data for the next session. The HTTP protocol is a stateless protocol. It means that a Web server treats each HTTP request for a page as an independent request. A server retains no knowledge of variable values that were used during previous requests.
Where there is a purely stateless environment, you will not need any type of session ID. Every request would contain all the information the server would need to process. However many applications need to maintain state to keep track of whether or not a session is authenticated to view certain content or to keep track of what a user is doing. Into the asp.net session state identifies requests from the same browser during a limited time window as a session and provides a way to persist variable values for the duration of that session.
The ASP.NET-MVC, however, does not use server-side controls so it doesn't have to maintain state. An MVC model separates the problem domain into the three partitions so that data is delivered to the client in a streamlined manner.
The full means of state is that there is memory of the past. The Previous transactions are remembered and may affect the current transaction.