C API Reference -- Ns_ConnReturnRedirect

### Ns_ConnReturnRedirect

#### Overview

Return an HTTP redirect response to a client

#### Syntax

        int Ns_ConnReturnRedirect(
        Ns_Conn *conn,
        char *location
        );

#### Description

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.

Top of Page
Copyright © 1998-99 America Online, Inc.