开发者

Ajax Control Toolkit and custom HttpModules

开发者 https://www.devze.com 2023-04-12 13:46 出处:网络
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

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 so开发者_JS百科me 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,


I solved the problem, i have just moved the code wich control the acces from the PostAcquireRequestState event handler to the PostRequestHandlerExecute one.

0

精彩评论

暂无评论...
验证码 换一张
取 消