ASP: Truncated URL
am 11.02.2007 18:15:01 von Leo595
I have a page that creates dynamic hyperlinks for each recorded
displayed. Many of the constructed URLs exceed 128 characters. Those
that with greater than 128 are truncated for some reason unknown to
me. I know that IE supports URLs up to 2048 characters. Is there a way
for me to create and use longer URLs in my ASP dynamic links?
Example:
This code:
response.write "
a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=12345678Â90&g=1234567890&h=1234567890&i=1234567890&j =1234567890&k=1234567890&l=12345Â67890&m=1234567890"">asdf
a>"
Creates a url that appears like this:
http://localhost/pages/somepage.asp?
a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=12345678Â90&g=1234567890&
Re: Truncated URL
am 12.02.2007 06:27:15 von Roland Hall
"Leo595" wrote in message
news:7ADDBE13-1AB1-45C3-82EB-E63FDA41982C@microsoft.com...
>I have a page that creates dynamic hyperlinks for each recorded
> displayed. Many of the constructed URLs exceed 128 characters. Those
> that with greater than 128 are truncated for some reason unknown to
> me. I know that IE supports URLs up to 2048 characters. Is there a way
> for me to create and use longer URLs in my ASP dynamic links?
>
> Example:
> This code:
> response.write "
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&h=1234567890&i=1234567890&j= 1234567890&k=1234567890&l=1234567890&m=1234567890"">asdf
> a>"
>
>
> Creates a url that appears like this:
>
>
> http://localhost/pages/somepage.asp?
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&
It might be because &h is read as a HEX value.
It truncates in the client source or when the link it activated?
--
Roland Hall
Re: Truncated URL
am 12.02.2007 06:53:05 von Roland Hall
"Leo595" wrote in message
news:7ADDBE13-1AB1-45C3-82EB-E63FDA41982C@microsoft.com...
>I have a page that creates dynamic hyperlinks for each recorded
> displayed. Many of the constructed URLs exceed 128 characters. Those
> that with greater than 128 are truncated for some reason unknown to
> me. I know that IE supports URLs up to 2048 characters. Is there a way
> for me to create and use longer URLs in my ASP dynamic links?
>
> Example:
> This code:
> response.write "
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&h=1234567890&i=1234567890&j= 1234567890&k=1234567890&l=1234567890&m=1234567890"">asdf
> a>"
>
>
> Creates a url that appears like this:
>
>
> http://localhost/pages/somepage.asp?
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&
RE: length...
http://classicasp.aspfaq.com/forms/what-is-the-limit-on-quer ystring/get/url-parameters.html
--
Roland Hall
Re: Truncated URL
am 14.02.2007 02:01:09 von Farshad Hemmati
The best way to go about this is post the URL as a FORM POST, rather than
put it in the URL. That way you can send much larger data and info without
any truncation by any browser.
Regards,
Farshad
"Leo595" wrote in message
news:7ADDBE13-1AB1-45C3-82EB-E63FDA41982C@microsoft.com...
>I have a page that creates dynamic hyperlinks for each recorded
> displayed. Many of the constructed URLs exceed 128 characters. Those
> that with greater than 128 are truncated for some reason unknown to
> me. I know that IE supports URLs up to 2048 characters. Is there a way
> for me to create and use longer URLs in my ASP dynamic links?
>
> Example:
> This code:
> response.write "
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&h=1234567890&i=1234567890&j= 1234567890&k=1234567890&l=1234567890&m=1234567890"">asdf
> a>"
>
>
> Creates a url that appears like this:
>
>
> http://localhost/pages/somepage.asp?
> a=1234567890&b=1234567890&c=1234567890&d=1234567890&e=123456 7890&f=1234567890&g=1234567890&