请帮忙, 我有一个经典的ASP网站,它使用带有Session_OnStart的Global.asa来设置会话变量。但是Server 2008上的IIS似乎没有运行Global.asa。当ASP页面使用在Server 2005 / IIS / ASP上运行的Session变量时,它们会显示未设置会话变量。 另外,IIS的新Server 2008界面非常糟糕。请回到2003年的风格。并使CGI / ISAPI / ASP开箱即用。
解决方案
你好ATS.NET
在IIS 7.0上托管经典ASP应用程序时,请确保将包含global.asa的目录设置为应用程序。为此,只需右键单击右侧虚拟目录并选择"转换为应用程序"。 希望上述帮助。 问候 Padmanabhan
Please help,I have a classic ASP site, that uses a Global.asa with a Session_OnStart to setup session variables. But IIS on Server 2008, does not seem to run the Global.asa. When ASP pages use the Session variables, which worked on Server 2005/IIS/ASP, they show that the session variables were not set.Also, the new Server 2008 interface for IIS is horrible. Please go back to the 2003 style. And make CGI/ISAPI/ASP work out of the box.
解决方案Hi ATS.NET
While hosting classic ASP application on IIS 7.0 make sure that the directory that contains the global.asa is set as an application. For doing this simply right click on the right virtual directory and choose 'Convert To Application'.Hope the above helps.RegardsPadmanabhan
更多推荐
Server 2008上的Global.asa
发布评论