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 Posted / 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 |
Post New Answer View All Answers
What is a postback in asp net?
What are the benefits of Razor View?
What are session state modes in asp.net?
Explain the difference between debug.write and trace.write? When should each be used?
What are the new features implemented in ASP.NET?
Can we have multiple master pages in asp net?
To get the values in two different controls to match which control you use it?
What is rending process in ASP.NET?
What is asp net objects?
What is difference between URL and URI?
What is the function of new view engine in asp.net? : asp.net mvc
What are the advantages of the code-behind feature?
Explain the differences between managed and unmanaged code?
Is it possible to change the index of primary key on table?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?