Re: use SOAP header for asp.net session state



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.


.



Relevant Pages

  • Re: X is broke... freeing multiple contexts (2)
    ... > HW: Laptop, IBM Thinkpad ... > "blinkem" run as root claims unable to open sound card. ... > Was this a graphical X session? ... Logout gui button in X session manager? ...
    (comp.os.linux.setup)
  • Re: Access 2003 / Forms / Data Entry
    ... > Manager of the Employer. ... >>> Manager, Contract and Department the Employee is working on, related to ... >>> and used the caption for the checkbox labels as the question name (Hand ... >>> type of questions change depending what department the session is being ...
    (microsoft.public.access.formscoding)
  • Re: PATH ~/bin under gnome
    ... variable modification at the top and exec the appropriate session script ... your login manager. ... you would normally have to call gnome-session from the script as its last ... I do this with fluxbox - this way fluxbox starts up first rather than ...
    (Ubuntu)
  • Re: WAS suddenly dying
    ... Steven Cheng schrieb: ... After you've confirmed that the WCF requests got blocked at the .NET managed runtime(if you see the requests arrive the server-side and exits in IIS LOG), you can use the means mentioned in previous article I provided to capture a hang dump for analysis. ... Please feel free to let my manager know what you think of the level of service provided. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: SESSION FREEZE ISSUE AFTER SESSION AUTHENTICATION
    ... Citrix Support Forum ... AppSense Application Manager problem: ... Terminal Services deployment in a DELL server with Windows Server 2003 ... grey screen after the initial Microsoft session login. ...
    (microsoft.public.windows.terminal_services)