如何在没有查询字符串参数的情况下显示URL [英] How do display url without query string parameters

查看:59
本文介绍了如何在没有查询字符串参数的情况下显示URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在地址栏中隐藏网址或显示没有querystring参数的网址我不会使用会话以外的会话参数如果有任何方法可以做到这一点我' m使用mvc4,c#web应用程序

解决方案

有一种方法可以使用Post而不是Get



或者您可以使用隐藏字段或使用cookie。


您可以在此方案中使用cookie(浏览器端)。

Hi, is there any way to hide url in the address bar or display the url without querystring parameter i won't use session parameters other than session if there any way to do this i'm using mvc4,c# web application

解决方案

there is one way to do is make use of Post instead of Get

or you can make use of hidden field or make use of cookies.


You can use cookie(browser side) for this scenario.


这篇关于如何在没有查询字符串参数的情况下显示URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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