ASP.Net Session

Posts   
 
    
Fabrice
User
Posts: 180
Joined: 25-May-2004
# Posted on: 19-Jan-2005 10:07:27   

Hi all

There is nothing to do with LLBLGEN here but somebody can help me simple_smile I've a 3 part solution designed like this : - smart client (c#application) - ASP.Net WebServices (with LLBLGEN of course wink ) - SQL Server (several database with the same schemas)

When I user want to login he give : - his username and password - his customer license key With these information I put in session some information like which database to use, userId etc. Not a lot, only 3 or 4 string.

But what I discovered later is that when session is activated on the asp page, all calls from the same user (session id) are serialized on the same thread... so it's impossible for the smartclient to make an asynchronous call and then continue to use webservices until the end of the async call because the webserver wait the end of the async before serving next request.

I think to remove the server session and then the client give a key in the SOAP header. But there is a problem with that : I've a third part tool (WebFocus - report service) which need to access the webservice and it doesn't support dynamic SOAP headers...

Somebody have a solution ? Thanks for the help simple_smile