请求参数 [英] Query String

查看:57
本文介绍了请求参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过浏览器隐藏查询字符串参数?

How to hide query string parameters over the browser?

推荐答案

您可以使用iframe:

You could use an iframe:

<html>
<head>
  <title>Parent page with no query string parameters visible</title>
</head>
<body>
  <iframe src="mypage.aspx?x=y&a=b" />
</body>
</html>



那是您的意思吗?



Is that what you meant?


URL重写 ...
看一下本文:使用ASP.NET进行URL重写 [
URL Rewriting...
Have a look at this article: URL Rewriting with ASP.NET[^]

Google for more if needed.


一种显示方式此处 [ ^ ].
或者,您可以只使用会话变量.
One way shown here[^].
Or you could just use session variables.


这篇关于请求参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆