IIS 7.5 with URL Rewrite Module Doubles QueryString Params on Postback

后端 未结 3 1393
忘掉有多难
忘掉有多难 2021-02-08 21:23

I\'m using IIS 7.5 on Windows 7 RC. I use the IIS Url Rewrite module to rewrite URLs.

Everything seems to work fine, until I perform a postback by clicking a button. It

3条回答
  •  故里飘歌
    2021-02-08 22:04

    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.

提交回复
热议问题