Open In App

ASP Redirect Method

Last Updated : 15 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

The ASP Redirect Method is used to redirect the client to a different URL. It is a predefined method of the Response Object.

Syntax:

Response.Redirect URL

Parameter Values: This method accepts a single parameter as mentioned above and described below:

  • URL: It defines a Uniform resource locator which represents the browser is redirected to.

Return value: This method does not return any value. 

Example: Below code redirects the user to geeksforgeeks website.

<%
Response.Redirect "https://www.atom.com/name/geeksforgeeks.org.in"
%>

Article Tags :

Similar Reads