如何在url中隐藏查询字符串参数? [英] how to hide query string parameters in url?
本文介绍了如何在url中隐藏查询字符串参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不想在url中显示查询字符串参数。我得到了一个id为重写网址的解决方案,但该怎么做?
I dont want to show querystring parameters in url..i got one solution which id "rewrite url" but how to do it??
推荐答案
HttpServerUtility.UrlEncode
[ ^ ]可能就是您要找的。
这里 [ ^ ]是一个合理的例子。
HttpServerUtility.UrlEncode
[^] is possibly what you are looking for.
Here[^] is a reasonable example.
查询ASP.NET的字符串加密 [ ^ ]
或
URL使用ASP.NET重写 [ ^ ]
http://forums.asp.net/t/1702209.aspx/1 [ ^ ]
试试这个...或者使用session ....
Query string encryption for ASP.NET[^]
or
URL Rewriting with ASP.NET[^]
http://forums.asp.net/t/1702209.aspx/1[^]
try this... or use session ....
这篇关于如何在url中隐藏查询字符串参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文