ASP.NET : Hide Querystring in URL

前端 未结 5 701
夕颜
夕颜 2020-12-20 00:16

I don\'t know if I\'m just being overly hopeful, but is there a way to hide the query string returned in the URL?

The scenario I am in is where I have page1.aspx red

5条回答
  •  一生所求
    2020-12-20 01:00

    You could possibly also use

    Context.RewritePath("/foo.aspx")
    

    Here's a link to a ScottGu blog post about URL rewriting.

    http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

提交回复
热议问题