开发者

Using Http module for authorization AuthorizeRequest or BeginRequest

开发者 https://www.devze.com 2023-01-01 16:03 出处:网络
I have a wap site with susciription and I want to check if users are authorized to see some pages. I have decided to use ht开发者_JAVA技巧tp module.

I have a wap site with susciription and I want to check if users are authorized to see some pages. I have decided to use ht开发者_JAVA技巧tp module.

Should I use AuthorizeRequest or BeginRequest to check the users status? and why?


You obviously should handle AuthorizeRequest event since you need to know who is the user (authentication must have been processed).


You really have not given enough information to garner an authoritative answer but I can provide a bit of information to get you started on refining your question.

See http://www.codeproject.com/Articles/39026/Exploring-Web-config-system-web-httpModules.aspx

Some relevant information would be a description of your authentication strategy.

Update your question and leave me a comment and I will get right back to you.

0

精彩评论

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

关注公众号