After a POST it is often necessary to use a redirect to another location. For a simple form submission, this is a best practice to avoid problems after the form is submitted.
A redirect needs either a 302 or 307 with a Location header.
One way to do it could be to add:
function Location (This : Response) return String;
and to handle that new response function in the Respond procedure.
After a
POSTit is often necessary to use a redirect to another location. For a simple form submission, this is a best practice to avoid problems after the form is submitted.A redirect needs either a 302 or 307 with a
Locationheader.One way to do it could be to add:
and to handle that new response function in the
Respondprocedure.