If I update session state, should I lock it, too? Are concurrent accesses by multiple requests executing on multiple threads a concern with session state?
Answer / kumar saurabh
Concurrent accesses aren't an issue with session state, for two reasons. One, it's unlikely that two requests from the same user will overlap. Two, if they do overlap, ASP.NET locks down session state during request processing so that two threads can't touch it at once. Session state is locked down when the HttpApplication instance that's processing the request fires an AcquireRequestState event and unlocked when it fires a ReleaseRequestState event.
Is This Answer Correct ? | 0 Yes | 0 No |
How can you execute stored procedure from windows application?
What is ispostback property?
Explain Features in ASP.NET
What is viewstate?
6 Answers Abacus, Microsoft, Sopra,
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
3 Answers Allsec Technologies,
what does membership class provide?
What is asp according to you?
What is the usie of activex control in .net?
What is the syntax for datagrid and specifying columns?
In asp.net 3.5 we can go one page to onther page without using statemanagment concept?
What are the different modes for the sessionstates in the web.config file?