When you create a Web service, you specify whether it should be executed within the context of an HTTP session. Associating Web services with a session enables an application to maintain state across Web service calls and to use login information for security purposes.
To allow multiple Web services to share a session on .NET, two things need to happen:
The Web service client must allow a session to be shared across Web service calls. To do this, you need to define the Web service calls in the same Web Control and assign a
CookieContainer
for each call. For instructions, see Calling ATG Web Services.The Web services themselves must support sessions. When you create custom Web services, the Web Service Creation Wizard gives you the option of supporting sessions.