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

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

10 Tips to Avoid Claude Usage Limits

A ₹40 Fix That Brought My PC Back to Life