ASP.NET Response.Redirect的最大长度网址 [英] ASP.NET Response.Redirect Max URL Length

查看:142
本文介绍了ASP.NET Response.Redirect的最大长度网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在看我们的企业内部网创建一个简单的网址缩短服务,我很好奇,如果任何人都知道,如果有通过ASP.NET的Response.Redirect方法返回的URL的最大长度?

I'm looking at creating a simple URL shortening service for our corporate intranet, and I'm curious if anyone knows if there's a maximum length for URLs returned by ASP.NET's Response.Redirect method?

推荐答案

IE是2083​​(对GET是为2048)。其他浏览器有略微不同的限制。没有在标准中定义的限制。大多数人似乎都认为,在东西什么的IE浏览器允许的范围内是功能性的限制。

IE is 2083 (for GET is is 2048). Other browsers have slightly different limits. There is no limit defined in the standard. Most folks seem to agree that something in the range of what IE permits is the functional limit.

这篇关于ASP.NET Response.Redirect的最大长度网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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