I've got a classical ASP website in which I store some information inside the Application object. The application runs perfectly in IIS6 and IIS5 but not in IIS 7.
In Global.asa Application.On_start I set some variables. For exemple:
Application("variable1") = 1
And on page x.asp I use the variable in a non-standard way:
newVariable = variable1
response.write newVariable
And on IIS6 I see the number 1. But on IIS7 newVariable has no value.
I now the correct form is
newVariable = Applicaion("variable1")
response.write newVariable
But the site is now 14 years old and has more than 500 pages. So I want to know if there is a way to make IIS7 more compatible with old ASP pages.
Thanks