11 ways to persist user state in an ASP.NET application

The different mechanisms to persist data between user requests in ASP.NET are:
  1. Application
  2. Cookies
  3. Form Post / Hidden Form Field
  4. QueryString
  5. Session
  6. Cache
  7. Context
  8. View State
  9. Control State
  10. Web.config and Machine.config Files
  11. Profile

This MSDN Mag article and this post by Tatham Oddie can help you decide which option is more appropriate.

Comments

Popular posts from this blog

30+ GitHub Products & Key Ecosystem Features You Should Know in 2026

Uncle Bob vs. Grady Booch: Rethinking Code Reviews in the Age of AI

Compact Business PCs Explained: Dell OptiPlex, Intel NUC and Lenovo ThinkCentre Tiny Desktops Compared