I want to enable making several concurrent requests to server from a single client. How can this be done with .Net
WebApi
? In ASP.Net
MVC 3
it could be enabled with adding the follow attribute to the controller:
[SessionState(SessionStateBehavior.ReadOnly)]
public class SomeController : AsyncController
{
//.....
}
Information about MVC Session was found here:
The Downsides of ASP.NET Session State
But in Web Api application it doesn't work. I've also accessing session data like in this question:
Accessing Session Using ASP.NET Web API
So, I think thats why I can't make multiple requests at once from client. What should I do enable that feature?