Access to public variables defined in Global.asax.vb

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:

I have defined public variables in Global.asax.vb that are initialized in
the application_start event.

How do I reference these variables in other ASP forms? For example, if my
variable is goTest, I thought I can reference it as Global.goTest but I see
that I cannot.

Thanks.

venki
 
I have defined public variables in Global.asax.vb that are initialized
in the application_start event.

How do I reference these variables in other ASP forms? For example, if
my variable is goTest, I thought I can reference it as Global.goTest
but I see that I cannot.

Assign them as application variables ... rather than local public
variables.
 
Back
Top