Global.asa没有开火

编程入门 行业动态 更新时间:2024-10-28 10:29:51
本文介绍了Global.asa没有开火的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

出于某种原因,我的global.asa文件未触发。我把它放在我网站的 根目录下(例如,wwwroot \ mywebsite \ global.asa),我将网站 网站配置为申请表]在IIS中。当我修改文件时,我也停止并重启了网络服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? /> 谢谢

For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks

推荐答案

那么,你有什么证据可以解雇?什么方法是 不开火发生在?该方法的代码是什么? 你见过 www.aspfaq/2076 和 http:// www .aspfaq / 2078 ? - www.aspfaq/ (反向地址回复。) qaz <纳克**** @ uslex>在消息中写道 news:eX ************** @ TK2MSFTNGP11.phx.gbl ... Well, what evidence do you have thatit is not firing? What method is the "not firing" occuring in? What is the code in that method? Have you seen www.aspfaq/2076 and www.aspfaq/2078 ? -- www.aspfaq/ (Reverse address to reply.) "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... 出于某种原因我的全球.asa文件未触发。我把它放在我网站的根目录(例如,wwwroot \ mywebsite \ global.asa)中,我将网站配置为应用程序。在IIS中。当我修改文件时,我也停止并重新启动了Web服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? 谢谢 For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks

我的证据非常好。在Application_OnStart中,我创建了一个名为Application(" test")的应用程序 变量,并将其设置为等于Application。在 Session_OnStart中我设置了一个名为session(test)=Session的会话变量。 我在test.asp中放了response.write语句并解雇了页面。 " Aaron [SQL Server MVP]" < TE ***** @ dnartreb.noraa>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ... My evidence is pretty good. In Application_OnStart I created an application variable named Application("test") and set it equal to "Application". In Session_OnStart I set a session variable called session("test") = "Session". I put response.write statements in test.asp and fired the page. "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl... 嗯,你有什么证据可以解雇? 不开火的方法是什么?发生在?该方法的代码是什么? 您是否见过 http:/ /www.aspfaq/2076 和 www.aspfaq / 2078 ? http: //www.aspfaq/ (反向回复地址。) " qaz" <纳克**** @ uslex>在消息中写道新闻:eX ************** @ TK2MSFTNGP11.phx.gbl ... Well, what evidence do you have thatit is not firing? What method is the "not firing" occuring in? What is the code in that method? Have you seen www.aspfaq/2076 and www.aspfaq/2078 ? -- www.aspfaq/ (Reverse address to reply.) "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... 由于某种原因,我的global.asa文件是不开火。我把它放在 For some reason my global.asa file is not firing. I have it located in

我的网站的根目录(例如,wwwroot \ mywebsite \ global.asa),我有 root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the

web

web

配置为应用程序的站点。在IIS中。当我修改文件时我 site configured as an "application" in IIS. When I modified the file I

停止并重新启动网络服务器。 任何人都可以给我一些想法,为什么它不是解雇? stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks

确保将mywebsite设置为应用程序,而不是父网站 的子目录。如果它是一个子目录,则根global.asa将触发 。 " qaz" <纳克**** @ uslex>在消息中写道 新闻:eX ************** @ TK2MSFTNGP11.phx.gbl ... 出于某种原因,我的全球.asa文件未触发。我把它放在我网站的 根目录下(例如,wwwroot \ mywebsite \ global.asa),我将网站 网站配置为申请表]在IIS中。当我修改文件时,我也停止并重启了网络服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? /> 谢谢 Make sure mywebsite is setup as an application, and not a subdirectory of the parent web. If it is a subdirectory, the root global.asa will fire instead. "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks

更多推荐

Global.asa没有开火

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

发布评论

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

>www.elefans.com

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