Microsoft Knowledge Base Email Alertz

(175318) - The following Internet Explorer error occurs when POSTing a form to an Active Server Pages (.asp) file that initiates multiple response.redirect. Internet Explorer cannot open the Internet site http://yourhttp://yourserver/your Web/your asp...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 175318 - Last Review: May 2, 2006 - Revision: 5.0

FIX: Internet Explorer Error When Posting to an ASP Page That Initiates Redirects

This article was previously published under Q175318

SYMPTOMS

The following Internet Explorer error occurs when POSTing a form to an Active Server Pages (.asp) file that initiates multiple "response.redirect."

Internet Explorer cannot open the Internet site http://<your">http://<yourserver>/<your Web>/<your asp file>The requested item could not be found.

CAUSE

The conditions that cause this error to occur are as follows:

  1. The requesting page uses a Post to an ASP page.
  2. The ASP page issues a "Response.redirect" ("HTTP302").
  3. The redirected page redirects to another page.

RESOLUTION

The correct solution is to re-design the Web application so that a redirect is not issued when a HTM forms submits a POST.

STATUS

This bug was corrected in Windows 2000.

MORE INFORMATION

The following text is from the HTTP 1.0 Specificiation located on:
http://www.w3.org/Protocols/rfc1945/rfc1945 (http://www.w3.org/Protocols/rfc1945/rfc1945)
9.3 Redirection 3xx

302 Moved Temporarily
If the 302 status code is received in response to a request using the POST method, the user agent must not automatically redirect the request unless it can be confirmed by the user since this might change the conditions under which the request was issued.

NOTE: When automatically redirecting a POST request after receiving a 302 status code, some existing user agents will erroneously change it into a GET request.
Internet Explorer incorrectly handles the situation described above in that it erroneously changes it into a GET request when it should fail or prompt the user to confirm the redirect.

REFERENCES

For the latest Knowledge Base artices and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

http://support.microsoft.com/search/default.aspx?qu=vinterdev (http://support.microsoft.com/search/default.aspx?qu=vinterdev)

APPLIES TO
  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 4.0
Keywords: 
kberrmsg kbbug kbfix kbaspobj kboswin2000fix kbiis500fix KB175318
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate