Get the exact url the user typed into the browser

后端 未结 6 761
轻奢々
轻奢々 2020-12-05 21:42

I would like to get the exact url that user typed into the browser. Of course I could always use something like Request.Url.ToString() but this does not give me

6条回答
  •  一向
    一向 (楼主)
    2020-12-05 22:17

    Try using Request.Url.OriginalString Might give you the thing you are looking for.

提交回复
热议问题