filmov
tv
Session State Management,retain control value page refresh,asp.net c# web application

Показать описание
Session state is a period of time to visit a website for a particular user. Session can store the client data on a server. Session is a best state management features to store the client data on server separately for each user. Session can store value across on multiple pages of website.The basic difference between these two is that the ViewState is to manage state at the client's end, making state management easy for end-user while SessionState manages state at the server's end, making it easy to manage content from this end.
State management is implemented to retain information about user requests. Web pages are stateless. Each request creates a new page without containing any previous information about the user requests. ASP.NET supports several State Session management techniques to maintain state information.
State management in ASP.NET is classified as:
Client-side state management: When we use client-side state management, the state-related information will directly get stored on the client-side. That particular information travels back and communicate with every request generated by the user and then respond to server-side communication.
Server-side state management: Server side state management is different from client-side state Session management, but the operations and working are the same. In server-side state management, all the information gets stored in the user memory, and because of this functionality, more secure domains are available at the server-side than client-side state management.
State management is implemented to retain information about user requests. Web pages are stateless. Each request creates a new page without containing any previous information about the user requests. ASP.NET supports several State Session management techniques to maintain state information.
State management in ASP.NET is classified as:
Client-side state management: When we use client-side state management, the state-related information will directly get stored on the client-side. That particular information travels back and communicate with every request generated by the user and then respond to server-side communication.
Server-side state management: Server side state management is different from client-side state Session management, but the operations and working are the same. In server-side state management, all the information gets stored in the user memory, and because of this functionality, more secure domains are available at the server-side than client-side state management.