int Ns_ConnReturnRedirect( Ns_Conn *conn, char *location );
The Ns_ConnReturnRedirect function returns a properly formatted HTTP redirect message for the given location. This causes the browser to seamlessly open the new location on behalf of the user. Ns_ConnReturnRedirect returns NS_OK or NS_ERROR.