Server 2008上的Global.asa [英] Global.asa on Server 2008

查看:122
本文介绍了Server 2008上的Global.asa的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮忙,

我有一个经典的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.

Regards

Padmanabhan


这篇关于Server 2008上的Global.asa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆