日期:2014-05-18  浏览次数:20585 次

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就可以了?

------解决方案--------------------
自加添加的.