Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems



The IResponse::Redirect method first stops the server from processing the current script and then causes the browser to attempt to connect to a different URL. For more information, see the Redirect method of the Response object.

HRESULT Redirect(



Parameters: IResponse::Redirect


A binary string that contains the URL.

Remarks: IResponse::Redirect

If you have set any response body content in the page, it will be ignored. However, this method does send to the client other HTTP headers set by this page. An automatic response body containing the redirect URL as a link is generated. The IResponse::Redirect method sends the following explicit header,

HTTP/1.0 302 Object Moved

Location URL

where URL is the value passed to the method.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.