I have a few session variables declared in my global.asa file that cannot be read from my default page.
The app works when i run it locally from my own machine, but tanks out when i run it from the server machine.
Does anyone know why that might be?
Try placing your global.asa file in the root of your site on the server if you haven't already. A global.asa file will only be instantiated in the root of an IIS application directory. You can also (if you have control over this machine) create a new application in your current directory from the IIS admin console by pressing the Create button in the Application Settings section for the given directory. Good Luck.
Make sure you're setting the variables within the Session_onStart sub. Otherwise they won't get reset for each new user on the site.
If the variables are always the same for all users you should use the Application("varname" variables. And set them in the Application_onStart sub.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.