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(
BSTR bstrURL //binary string that contains the URL
);
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.