Session variables in shared class

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 ...
 
K

Kevin Spencer

System.Web.UI.HttpContext.Current.Session

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

David A. Beck

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top