IIS 7.5 with URL Rewrite Module Doubles QueryString Params on Postback

ぃ、小莉子 提交于 2019-12-03 06:45:17
György Balássy

Add the appendQueryString="false" attribute to the action element of the rewrite rule as well.

Hope this helps.

I was able to solve the issue by adding

Form.Action = Request.RawUrl;

to the Page_Load event. I was able to leave appendQueryString="TRUE" and so far it is working properly.

This is a security feature of the IIS Rewrite Module.

I personally prefer ISAPI Rewrite as it is much better, simpler to write rules, and has more features.

Have also found under moderate to high load (over 100 connections to a website) that the IIS Rewrite Module courses the application pool to crash and spawn and new process.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!