Enabling session state across multiple WebMethod calls.
To enable session state across multiple webmethod calls:
1. On the web server side, set SessionState=true in the WebMethod attribute for each method.
2. On the client proxy side, share a single proxy object across the calls and first set the CookieContainer property.