P
page77.office
Trying to use Session(vars) in a Class so I can persist their access
across, mypages for the session. File is Class1.vb
In a WebForm 'Session' is available but in a Class it is not I have to
precede 'Session' with
System.Web.HttpContext.Current.Session(Var)
similarly for 'response' (testing only - I promise)
Is it possible to refer to 'Session' without the full reference.
I have tried various Inherits and Imports but none successful too date
Thanks
across, mypages for the session. File is Class1.vb
In a WebForm 'Session' is available but in a Class it is not I have to
precede 'Session' with
System.Web.HttpContext.Current.Session(Var)
similarly for 'response' (testing only - I promise)
Is it possible to refer to 'Session' without the full reference.
I have tried various Inherits and Imports but none successful too date
Thanks