Response.Redirect problem to secure server

Hello

I have a strange problem, I'm using Debitech for a system that handles
payments. And I have this Response.Redirect(https://long address) that is
sent to their server with a long querystring. For some reason
Response.Redirect renders a "Page cannot be displayed" error (and no
asp-error) if it gets abit long, but if I copy that same address into a new
browser and surf to it it works.

Is there some sort of maximum url-length in the IIS of Windows 2003? been
doing response.redirects since -97 so this is abit strange.

Any ideas on this one?
/Lasse
Lasse Edsvik [ Di, 24 Juli 2007 14:07 ] [ ID #1777202 ]

Re: Response.Redirect problem to secure server

Lasse Edsvik wrote on 24 jul 2007 in
microsoft.public.inetserver.asp.general:
> I have a strange problem, I'm using Debitech for a system that handles
> payments. And I have this Response.Redirect(https://long address) that
> is sent to their server with a long querystring.

ASP Response.Redirect does not send anything to any server,
but sends a header to the browser advising that browser to redirect to
another page perhaps on another server.

> For some reason
> Response.Redirect renders a "Page cannot be displayed" error (and no
> asp-error) if it gets abit long, but if I copy that same address into
> a new browser and surf to it it works.
> Is there some sort of maximum url-length in the IIS of Windows 2003?
> been doing response.redirects since -97 so this is abit strange.

Then you would get an ASP error.

Did you try different browsers?

Did you do a header read?

Try clientside javascript on IE(!!) with this code:

<script type='text/javascript'>
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
function getUrlhead(url) {
xmlhttp.open("HEAD", url,false);
xmlhttp.send()
return xmlhttp.getAllResponseHeaders();
};
document.write(getUrlhead('http.........'))
</script>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
exjxw.hannivoort [ Di, 24 Juli 2007 14:32 ] [ ID #1777203 ]
Webserver » microsoft.public.inetserver.asp.general » Response.Redirect problem to secure server

Vorheriges Thema: Convert username to SID
Nächstes Thema: Cannot call BinaryRead after using Request.Form collection