Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How is session locked handled #1456


User avatar
0
justin created

with use of dynamic web api and injected session how is the session locked handled for concurrent request from same session?

For example in controller you can mark Controller as a session Readonly which will allow parallel ajax request from same user to be processed at the same time, default behavior is that when session is in use it locks the session and does not permit parallel ajax request to process in parallel instead it makes them synchronous.

<a class="postlink" href="http://johnculviner.com/asp-net-concurrent-ajax-requests-and-session-state-blocking/">http://johnculviner.com/asp-net-concurr ... -blocking/</a>

so how does the session lock work in abp?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Abp does not do anything special for this case. So, a user is not allowed to make parallel ajax requests at a time.

    It's not recommended but you can try to do it with the mentioned attribute by yourself.