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?
Asked
Active
Viewed 3,024 times
3 Answers
0
Probably just as important as ASP.NET's limit is that which the browser(s) set:
What is the character limit on URL
The url parameter for Response.Redirect() is of type string
- considerably larger :-)

Community
- 1
- 1

LesterDove
- 3,014
- 1
- 23
- 24
0
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
- 7,828
- 2
- 22
- 25
-
Thanks. I knew about the browser limits, just didn't know if ASP.NET had a restriction on what it could return. – Evan M. Apr 23 '10 at 20:59