Sunday, November 22, 2009

ASP.NET - Class file get Session, Application and QueryString

Session
System.Web.HttpContext.Current.Session["name"]

Application
System.Web.HttpContext.Current.Application["name"]

QueryString
System.Web.HttpContext.Current.Request.QueryString["name"]

No comments:

Post a Comment