首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

Global.asax里找不到protected void Application_authenticaterequest(Object sender, Eve

2012-01-08 
Global.asax里找不到protected void Application_authenticaterequest(Object sender, EventArgs e)在.ne

Global.asax里找不到protected void Application_authenticaterequest(Object sender, EventArgs e)
"在.net中的global.asax中有application_authenticaterequest事件与application_beginrequest事件是在每次访问aspx文件都会触发.但是application_beginrequest中不能对已经经过froms身份验证的身份ticket票进行识别.所以只能放到application_authenticaterequest中去."
这个.我添加了一个Global.asax.里面没有那个.是不是要自己添加?还是我添加错了呢?
这种验证方式是不是在btn_login事件里写上事件.在application_authenticaterequest里写上事件.在配置Web.config就可以了?

[解决办法]
自加添加的.

热点排行