State Management in ASP.NET

From JholJhapata
Revision as of 15:46, 5 January 2020 by Admin (talk | contribs) (Created page with "As we all know, '''HTTP''' or '''HTTPS''' is stateless protocol. It just cleans up or we can say removes all the resources/references that were serving a specific request in t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

As we all know, HTTP or HTTPS is stateless protocol. It just cleans up or we can say removes all the resources/references that were serving a specific request in the past.

Stateless means, whenever we visit a website, our browser communicates with the respective server depending on our requested functionality or the request. In this case HTTP/HTTPs doesn't remember what website or URL we visited, or in other words we can say it doesn't hold the state of a previous website that we visited before closing our browser, that is called stateless.

So our browsers are stateless.

State Management Types

State Management Techniques

Client-side | Techniques

View State

Hidden field

Cookies

Control State

Query Strings

Server-side | Technique

Session State

InProc

OutProc

Application State