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

 

ASP Response Object Redirect Method

The Redirect method causes the browser to attempt to connect to a different URL.

Syntax: ASP Response Object Redirect Method

Reponse.Redirect URL

Parameters: ASP Response Object Redirect Method

URL

The Uniform Resource Locator the client is redirected to.

Remarks: ASP Response Object Redirect Method

Any response body content set explicitly in the page is ignored. However, the 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 Redirect method sends the following explicit header:

HTTP/1.0 302 Object Moved

Location URL

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