Server 2008上的Global.asa

编程入门 行业动态 更新时间:2024-10-28 16:30:48
本文介绍了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.RegardsPadmanabhan

更多推荐

Server 2008上的Global.asa

本文发布于:2023-10-30 08:19:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1542294.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Server   asa   Global

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!