多少没有。值由asp.net中的查询字符串传输 [英] how many no. of values are transferred by querystring in asp.net

查看:67
本文介绍了多少没有。值由asp.net中的查询字符串传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我答案



多少没有。值由asp.net中的查询字符串传输

plz tell me answer

how many no. of values are transferred by querystring in asp.net

推荐答案

查询字符串值的最大数量取决于浏览器和服务器软件

check以下链接获取更多信息

查询字符串的最大可能长度是多少? [< a href =http://stackoverflow.com/a/812962/2558060target =_ blanktitle =新窗口> ^ ]
maximum number of query string values depend on the browser and the server software
check below link for more information
What is the maximum possible length of a query string?[^]


什么都没有像最大查询字符串数,它不必与ASP.Net做任何事情。相反,它取决于您的Web浏览器。

Web浏览器会考虑URL的大小/长度而不是查询字符串。



检查以下讨论 -

不同浏览器中URL的最大长度是多少? [ ^ ]



所以,如果你限制URL到2000然后它可以在任何浏览器和服务器上工作。



希望,它有帮助:)
There is nothing like maximum number of querystring and it doesn't have to do anything with ASP.Net. Rather, it depends on your web browser.
The web browser considers about the size/length of the URL instead of querystring.

Check following discussion-
What is the maximum length of a URL in different browsers?[^]

So, if you are limitting URL by 2000 characters then it'll work on any browser and server.

Hope, it helps :)


它取决于URL浏览器的长度



* Opera支持~4050个字符



* IE 4.0+支持2083个字符,



* Netscape 3 - > 4.78支持最多8192个字符



* Netscape 6支持~2000 <无线电通信/>


如果要传递大字符串,则可以使用会话变量,如果使用查询字符串,则值对用户是透明的,但使用会话变量隐藏的值用户。
Its depends on the URL length of the Browser

*Opera supports ~4050 characters

*IE 4.0+ supports exactly 2083 characters,

*Netscape 3 -> 4.78 support up to 8192 characters

*Netscape 6 supports ~2000

If you want to pass large string ,then you can use session variables ,If you use Query string the values are transparent to the user ,but using session variables the values hidden from the user.


这篇关于多少没有。值由asp.net中的查询字符串传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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