Is there any way to monitor asp.net session state in order to watch object size, or is there any other practice to find out a way to lighten asp.net session?
A:
If you are using sessionMode="SqlServer" you could just query the database. Or you could write an IHttpModule to log, on each request, the current number and size of objects in the SessionStore for each user.
matt-dot-net
2010-07-15 13:12:11
I guess if you running a state server (service) you can switch to sql database for debug and then turn it back. Thanks
ppolyzos
2010-07-15 14:30:08