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?
A:
Probably just as important as ASP.NET's limit is that which the browser(s) set:
http://stackoverflow.com/questions/1051485/what-is-the-character-limit-on-url
The url parameter for Response.Redirect() is of type string
- considerably larger :-)
LesterDove
2010-04-23 19:00:39
A:
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.
Tom Cabanski
2010-04-23 19:01:03
Thanks. I knew about the browser limits, just didn't know if ASP.NET had a restriction on what it could return.
Evan M.
2010-04-23 20:59:06