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 |
What Are Different Types of Debbugers
2 Answers Accenture, TCS, Wipro,
What are the Application_Start and Session_Start subroutines used for?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
how to update data using store procedure
WHAT IS THE SEQUENCE IN WHICH ASP.NET EVENTS IS PROCEED?
Have you used microsoft dataaccess blocks and Exception blocks?
What is cached data phone?
In Code-Behind class which kind of code (server or client) is found ?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
What is simple data binding?
What are runtime hosts?
Can more than one person use the same login?