开发者

IIS Pipeline Postback detection

开发者 https://www.devze.com 2023-02-20 14:46 出处:网络
How can I use the IIS HttpApplication object in a module to detect if the request is a postback?This is for a www / ssl redirecting module so we开发者_高级运维 want to detect whether or not it is post

How can I use the IIS HttpApplication object in a module to detect if the request is a postback? This is for a www / ssl redirecting module so we开发者_高级运维 want to detect whether or not it is postback as soon as possible, preferably before page execution. This code will need to run on IIS6 and IIS7.


I solved this by just checking the request method to see if it was POST instead of GET.

0

精彩评论

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