Hi
1. Your web service class must derive from WebService.
2. You need to mark each method that wants to access session state with following attribute :
<WebMethod(EnableSessionState=true)>
The EnableSessionState parameter tells the web service that we want to access session state inside the method.
Avanish
|