Re: use SOAP header for asp.net session state
- From: "John Saunders" <john.saunders at trizetto.com>
- Date: Thu, 16 Nov 2006 01:16:16 -0500
"InvalidLastName" <spamme@xxxxxxxxxxxxx> wrote in message news:%23waTlTRCHHA.2328@xxxxxxxxxxxxxxxxxxxxxxx
Thank for all your responses.
Some background here. We are creating web services for our customer to get data in and out of the system. The web services can be consumed by any type of applications.
I totally agree the web services should stateless, and currently we actually don't need to maintain state between the calls.
We are planning to create a custom authentication ticket, which will be passed within SOAP header. I am not looking for a solution to use SOAP header to maintain "cookie", I am just want to make sure ASP.NET doesn't support SOAP header based session management, and we won't encounter any compatibility issue in the future if we do need to maintain session state for some odd reasons.
Interesting enough, I believe SQL server 2005 web services is actually using SOAP header to maintain session state. The SQL Server Reporting Services also saves execution ID, which is equivalent to session id, in SOAP header to maintain session state. That's why I really want to make sure SOAP header is not a valid session state management option is ASP.NET 2.0
Other alternative approaches, which provide minimum state management, are very welcome.
The best approach, as has been stated, is "don't do that". Pretend that you've never heard of session state and develop your service that way.
John
- Follow-Ups:
- Re: use SOAP header for asp.net session state
- From: Steven Cheng[MSFT]
- Re: use SOAP header for asp.net session state
- References:
- use SOAP header for asp.net session state
- From: InvalidLastName
- Re: use SOAP header for asp.net session state
- From: Steven Cheng[MSFT]
- Re: use SOAP header for asp.net session state
- From: InvalidLastName
- use SOAP header for asp.net session state
- Prev by Date: Re: Calling Web Service Asynchronously
- Next by Date: Re: use SOAP header for asp.net session state
- Previous by thread: Re: use SOAP header for asp.net session state
- Next by thread: Re: use SOAP header for asp.net session state
- Index(es):
Relevant Pages
|