What is the best way to manage one's session variables?

Posted by donde on Stack Overflow See other posts from Stack Overflow or by donde
Published on 2010-03-25T17:11:10Z Indexed on 2010/03/25 17:13 UTC
Read the original article Hit count: 385

Filed under:
|

In my .NET web app, I keep basic user info in a user session object. I also usually keep a director class in the session; which is basically just has info about whatever thing it being worked on on that screen (like a customer id).

I am trying to keep from adding a ton of sessions. I also want to make sure at any given time ONLY the sessions that are necessary are in memory.

This means I need an effective way of managing my session variables. Any suggestions?

© Stack Overflow or respective owner

Related posts about session-variables

Related posts about .NET