views:

172

answers:

2

Hi all, Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc. Have looked on internet but cant find in depth information or an article dedicated to the subject. Thanks

A: 

Programmatically, session state is nothing more than memory in the shape of a dictionary or hash table, e.g. key-value pairs, which can be set and read for the duration of a user's session.

Check following links for more details :

http://msdn.microsoft.com/en-us/library/ms972429.aspx

http://msdn.microsoft.com/en-us/library/ms178581(VS.80).aspx

Samiksha
A: 

For SQL Server State Management remember that you don't call Session["Key"] in loops. (Try to avoid that) Because everytime it accesses the session then a roundtrip to sqlserver is made.

JSC
You may want to re-post this answer here: http://stackoverflow.com/questions/349503/aspnet-session-state-service-information
Rob Cooper
I will do it right now ;-)
JSC