Session variables in shared class

  • Thread starter Thread starter David A. Beck
  • Start date Start date
D

David A. Beck

I have a shared class as a part of a ASP.NET project. I'm adding routines
that are used on all the WebForm aspx.vb pages. I can't figure out how to
read the session variables in this class. sX = CSTR(Session("XMAN")) tells
me I cannot refere to an instance name of a class from within a shared
method ...
 
System.Web.UI.HttpContext.Current.Session

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Thanks.

David A. Beck
Kevin Spencer said:
System.Web.UI.HttpContext.Current.Session

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top