Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Thursday, November 15, 2012
How to access session variables from anywhere in ASP.NET?
By full path like this:
System.Web.HttpContext.Current.Session["sessionVarName"];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment