ASP.NET - HTTP is stateless
HTTP is stateless, meaning each request is independent. ASP.NET provides mechanisms to maintain state across requests.
Session State stores user data on the server. Cookies store small data on the client. TempData persists data for a single redirect. ViewState is specific to Web Forms.
Improper state management leads to scalability issues. Large sessions consume server memory and reduce performance.
Modern applications minimize server-side state and rely on tokens, caching, or client-side storage.
Understanding state management is critical for building scalable and secure applications.