cgi_redirect3
Send an http 302 redirect response
Usage
#include <cgi/cgi.h>
void cgi_redirect (CGI *cgi, const char *fmt, ...)ATTRIBUTE_PRINTF(2,3);
Arguments
cgi - cgi struct
fmt - printf style format with args
Overview
cgi_redirect will redirect the user to another page on your site. This version takes only the path portion of the URL. As with all printf style commands, you should not call this with arbitrary input that may contain % characters, if you are forwarding something directly, use a format like cgi_redirect (cgi, "%s", buf)
Return value
None
Releases
10 releases since Debian 4.0 (Etch); the text changed 2 times.