简体   繁体   中英

Ajax Control Toolkit and custom HttpModules

I'm creating an ASP.NET application (.NET 2.0) with C# and I'm using the AJAX Control Toolkit.

To ensure security I'm using a custom HttpModule to verifiy the user credentials on each request. In the developement envirenment everything works as expected, but in the production environment some of the controls don't work, like the CalendarExtender for example. However, if I disable the HttpModule , the controls start working again.

Is there any relation between the Ajax Control Toolkit and custom HttpModules ?

If not, can any one please explain how to solve this problem.

Thanks,

我解决了这个问题,我刚刚将控制访问权限的代码从PostAcquireRequestState事件处理程序移到了PostRequestHandlerExecute。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM