Accessing Session variable value in class ....

Mani5155
Posted by Mani5155 under ASP.NET category on | Points: 40 | Views : 1549
using the following code snippet we can get the variable value in class file or in web service

System.Web.HttpContext.Current.Session["your_var"].ToString()

Comments or Responses

Login to post response