Response.Redirect problem to secure server

L

Lasse Edsvik

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
 
E

Evertjan.

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top