Getting the Redirected URL from the Original URL

前端 未结 9 1507
终归单人心
终归单人心 2020-12-05 14:57

I have a table in my database which contains the URLs of some websites. I have to open those URLs and verify some links on those pages. The problem is that some URLs get red

9条回答
  •  生来不讨喜
    2020-12-05 15:11

    You could check the Request.UrlReferrer.AbsoluteUri to see where i came from. If that doesn't work can you pass the old url as a query string parameter?

提交回复
热议问题