The information in this article applies to:
SUMMARYWhen trying to use the Response.Redirect method in a server-side script, the following error can occur when the page is accessed:
MORE INFORMATION
The Redirect method of the Response object operates by sending a header to
the client. This header causes the client to look to another URL location
specified in the header. Because a header must come at the beginning of a
document, it is not possible to place the Redirect method in a document
with HTML code preceding it.
Use the following additional HTML code after the redirect:
The above example always redirects to the file named Filename.asp.NOTE: Setting the Response.Buffer = True is not necessary in Windows 2000 because it is True by default. REFERENCESFor the latest Knowledge Base articles 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/support/vinterdev/ Additional query words: 1.00 kbdsi
Keywords : kbcode kberrmsg kbsample kbASP kbASPObj kbScript kbGrpASP kbCodeSnippet kbiis400 kbiis500 |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |