Help > Web Development > Reference > Scripting Objects > Response Object > Redirect Method

Response.Redirect Method

The Redirect method causes the user's browser to redirect to a different URL.

Syntax
Response.Redirect(url)

Parameters
url

string specifying the URL the user is to be redirected to.


Remarks
A redirect will end the processing of the current page and send a HTTP 302 redirection message to the client.  The HTTP response will look like the following:
302 Moved Temporarily
Location: http://www.lexmark.com

Example
<% Response.Redirect "http://www.lexmark.com" %>

Applies To
Response Object