开发者

How to dynamically increase the length of the url?

How to dynamical开发者_如何学Pythonly increase the length of the url ?

Let me be more descriptive. I want to use it in asp.net version 2.0 and 3.5. The maximum length of the url in (IE 7 +) is 2048.

Various size support in different browsers:

IE 7 + - 2048

Firefox - 65000

Safari - 80000

Opera - 190000


Put a query string on the url, and increase the size of it's value:

Response.Redirect("ThisPage.aspx?param=" + Request.QueryString("param") + "x");


You add more characters to it.


Use http://www.hugeurl.com/ ?

Seriously though, nothing stopping you from adding random junk to the query string. If you want the URL to be immutable, include a checksum or something and require it to match the added text for the URL to resolve. Or just use a reversible transformation to generate your URL, which is probably what hugeurl does.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜