|
Subject:
|
Global.asa issues
|
|
Posted By:
|
CorumMc
|
Post Date:
|
11/12/2004 10:39:00 AM
|
I have recently put together a test website on our test server. Everything worked fine until a power loss in the data center shut down all of our servers. All of the other websites started fine but now the test website is not getting any session variables from the global.asa. The production box came down as well and the same code there is working fine. There are other sites on the test server that also seem to be running their global.asa without a problem.
I'm still pretty inexperienced in working with IIS and this was the first website I'd personally set up in it. Is there something that needed to be set in IIS to have it reference the global.asa?
The only difference from the production version is that I have the site in a "test site" folder. The global.asa is still in the root of the site but the the site is not on the root of the website folder with all the other sites. But if this location is the problem, why would it have worked prior to the reboot?
Sorry for the length. Any help would be appreciated.
|
|
Reply By:
|
mat41
|
Reply Date:
|
11/12/2004 11:57:09 PM
|
;;;the test website is not getting any session variables from the global.asa.
It is written about here and there to 'initiate session vars in the globa.asa file' - this is not required. Do you set any values there? this would be the only reason I would initiate them here. FYI - You can create them on any page.
;;;Is there something that needed to be set in IIS to have it reference the global.asa?
No I do not believe so, there is one to allow sessions. What version of IIS are you using? Have you tried creating one outside the global.asa file? Testing this will go along way in solving your problem.
;;;The only difference from the production version is that I have the site in a "test site" folder
This is fine, you can build the contents of your 'www' dir how ever you please.
;;;why would it have worked prior to the reboot
A reboot shouldnt change the properties of the web site or the machines default web site in any way, not sure on that one.
Wind is your friend Matt
|