Re: use SOAP header for asp.net session state
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 16 Nov 2006 10:52:46 GMT
Hello InvalidLastName,
Yes,SQL Server reporting service use an executionID to maintain a session
to a certain report/snapshot at server-side, and this is actually depend on
the server-side's executionID manager( like the SessionState manager in
ASP.NET).
For your scenario, I think you can go through the custom SOAPheader
approach for session management, however, you may need to implement your
own server-side ID manager (such as how to create a new sessionID and
determine the lifecycle and expiration of a certain ID). For SoapHeader,
we only use it to store and pass the sessionID from client to server. Here
are some reference about how to use custom soapheader in ASP.NET webservice
and client and sample article of passing authentiate info through soap
header:
#Using SOAP Headers
http://msdn2.microsoft.com/en-us/library/77hkfhh8.aspx
#Soap Headers Authentication in Web Services
http://aspalliance.com/805_Soap_Headers_Authentication_in_Web_Services
For your scenario, you can let the client always call a authenticate
webmethod first which will retrieve a ticket ID from your server-side
authentication manager, then, in sequential requests, client proxy will set
the ID in the soapheader .... How do you think so?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- 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
- Re: use SOAP header for asp.net session state
- From: John Saunders
- use SOAP header for asp.net session state
- Prev by Date: Re: use SOAP header for asp.net session state
- Next by Date: Re: Exclude property fron Webservice
- 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
|