Hi all.
I'm writing a web service to return data to a web page that use ajax to manage it.
I use the property EnableSession in WebMethod to enable the session and manage my authenticated user.
The problem is that my web service doesn't handle concurrent request and queue them.
Is there a way to make them concurrently?!
Thanks in advance.
Stefano
It is probably my two requests try to access to the same session object and cannot do it.
But this is what i wanna do!
Is there a workaround??
Thanks
Stefano
Solved it myself.
I created a application variable hashtable in wich i store SessionId and the id of the current logged in user.
In every web method i pass one new parameter that is SessionId.
Bye!
Stefano
No comments:
Post a Comment