M
Mortal Wombat
Hi,
I am a beginner VB.NET developer and am trying to create my first ASP.NET
web application. I know that in a standard Windows Form type application, if
I want to declare a particular variable as global, then I declare it in a
separate module... any variables then declared in that module will be
available to any form within the application. How can I achieve the same
thing in an ASP.NET application?
I wish to declare a few variables that have scope beyond one WebForm page,
so that I can use the variable in other WebForm pages within the
application.
I suspect it is something to do with the global.asax file, but I cannot find
a reference for the correct way to do it.
Many thanks in advance,
MW
I am a beginner VB.NET developer and am trying to create my first ASP.NET
web application. I know that in a standard Windows Form type application, if
I want to declare a particular variable as global, then I declare it in a
separate module... any variables then declared in that module will be
available to any form within the application. How can I achieve the same
thing in an ASP.NET application?
I wish to declare a few variables that have scope beyond one WebForm page,
so that I can use the variable in other WebForm pages within the
application.
I suspect it is something to do with the global.asax file, but I cannot find
a reference for the correct way to do it.
Many thanks in advance,
MW