Hi All,
I want to access session objects of the current request through the web service.
I have set the enable session attribute also.
[WebMethod(EnableSession=true)]
But in spite of this, I am getting null values for the all the session variables. Infact there is no session keys left in it.
How to tackle this issue.
Thanks,
Dip
Loading
Suthish NairPosted Aug 1, 2011, 3:40 PM
Can you post the sample code using to retrieve the Session Value.
This way you need to retrieve the value -- HttpContext.Current.Session["UserId"]
refer msdn