如何加密/隐藏/替换我的url查询字符串?什么是更好的隐藏/加密/替换? [英] How do I encrypt/hide/replace my url query string ? what is better hide/encrypt/replace?
本文介绍了如何加密/隐藏/替换我的url查询字符串?什么是更好的隐藏/加密/替换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个网址:
http:// localhost:62299 / Pages / CreateOrder.aspx?CollID = 101254& SrNo = 12& QDSID = 112857&数量= 5
我想在?之后隐藏/加密/替换数据
什么是更好的选择,如何做到这一点?
注意:我将使用数据,因此解密也应该很容易。
< b>我尝试了什么:
我想在会话中提取数据并在没有查询字符串的情况下传递url。
I have a url :
http://localhost:62299/Pages/CreateOrder.aspx?CollID=101254&SrNo=12&QDSID=112857&Qty=5
I want to hide/encrypt/replace the data after "?"
What is the better option and how to do this ?
Note: i will be using the data so decryption should also be easy.
What I have tried:
I was thinking to extract that data keep in a session and pass the url without querystring.
推荐答案
访问这里
这里给出了完整的解决方案
使用C#和VB.Net在ASP.Net中加密和解密QueryString参数值 [ ^ ]
这篇关于如何加密/隐藏/替换我的url查询字符串?什么是更好的隐藏/加密/替换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文