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.
精彩评论