ASP.NET 2.0 Global asax的问题 [英] Issue with ASP.NET 2.0 Global asax

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

问题描述

由于一些奇怪的原因,我注意到每次刷新页面时我的浏览器(同一个会话)中的
ASP.NET称为:void

Application_Start(对象发送者) ,EventArgs e)


由于我的代码中的任何内容都没有重置

应用程序,我绝对感到困惑。

会话变量似乎没有问题。


其他人是否有这种问题?


也许我在这里遗漏了一些信息。任何人都可以抛出一些想法




最好的问候,

Alexandre Brisebois

For some odd reason I have notices that every time I refreshed a page
in my browser ( same session ) ASP.NET called : void
Application_Start(object sender, EventArgs e)

I am absolutly confused since nothing in my code resets the
application.
the session variables seem to be untoutched.

does any one else have this kind of problem?

maybe im missing some information here. Can anyone throw out some ideas
?

Best Regards,
Alexandre Brisebois

推荐答案

这在Global.asax中?

奇怪,每次重新编译或重新启动时都会触发此事件>
服务器。


您在IIS或machine.config中有任何特殊设置吗?

This in the Global.asax?

Strange, this event is trigger every time you recompile , or reestart
the server.

Do you have any special setting on your IIS or in the machine.config?


我不认为我有任何特殊设置,几周前我有我的主机安装

asp.net 2.0并且遇到了一些问题,我没有

知道他们是否正确安装了所有东西,我也面临着

文件权限问题,但如果我将会话设置为超时,则不会发生这种情况。 20分钟


即使我不编译..


虽然我必须提到这不是树中的根应用程序,但是

它是应用程序池中唯一的应用程序。

我绝对没有想法..

I dont think I have any special settings, I had my hosting install
asp.net 2.0 a few weeks ago and have runinto a few problems, I do not
know if they installed everything properly or so, I also was faced with
file permission problems, but no this is happenning even
if I set session to timeout at 20 mins

and even when I dont compile..

though I must mention this is not the root application in the tree, but
it is the only application in its application pool.

im absolutly out of ideas ..


P.S。 Web应用程序未发布它只在

远程服务器上编译。

P.S. the web application is not published it is only compiled on the
remote server.


这篇关于ASP.NET 2.0 Global asax的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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