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

The Mercurial Grok AI Assistant Understands & Speaks Indian Languages

HOW TO add a header or footer to a dynamically generated Word document

HOW TO dynamically generate a Word document with custom header & footer