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

Datawrapper Makes Data Beautiful & Insightful

GitHub Copilot Q&A - 1

This Week I Learned - Week #3 2025