Response.redirect

Creates a 3xx redirect response and adds the Location field to the header. If not specified status code 301 Moved Permanently will be used.

Examples

Response.redirect("/index.html");
Response.redirect(302, "/view.php");
Response.redirect(StatusCodes.seeOther, "/icon.png", ["Server": "sel-net"]);

Meta