C API Reference -- Ns_RegisterReturn

### Ns_RegisterReturn

#### Overview

Register a return status for a URL

#### Syntax

        void Ns_RegisterReturn (
        int status,
        char* url
        );

#### Description

Associate a URL with a return status (for custom error pages). For exmaple:

        Ns_RegisterReturn(404, "http://www.foo.com/notfound.html");

will send redirects to http://www.foo.com/notfound.html whenever a 404 error is to be returned.

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