IIS ASP - Response.Redirect problem to secure server

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > July 2007 > Response.Redirect problem to secure server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Response.Redirect problem to secure server
Lasse Edsvik

2007-07-24, 1:24 pm

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


Evertjan.

2007-07-24, 1:24 pm

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)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com