Session Varialbes

Mayfield2268

Active member
Joined
Feb 24, 2003
Messages
30
Hello

I have created a class called Utilities.vb in my ASP.Net web application.

Is there a way that I can use Session Variables within this class?

Is there some import System.... statement that I can insert?

Thanks
Jason Lee Mayfield
 
The best way to do this is to probably pass in a reference to the Session variable that your Page uses. The Session variable is actually an object of the sealed class System.Web.SessionState.HttpSessionState
 
Back
Top