HolyLib Wiki

SetRedirect

  HttpResponse:SetRedirect( string url, number code = 302 )

Description

Redirects one to the given URL and returns the given code.

Arguments

1string url
url to redirect to
2number code = 302
code to return