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

Kai-Fu Lee on China-US AI Race - Q&A Transcript from a Bloomberg Interview

The Mercurial Grok AI Assistant Understands & Speaks Indian Languages

40 Talks from the Google Web AI Summit 2025