C API Reference -- Ns_ConnReturnAdminNotice

### Ns_ConnReturnAdminNotice

#### Overview

Return a short notice to a client to contact system administrator

#### Syntax

        void Ns_ConnReturnAdminNotice(
        Ns_Conn *conn,
        int status,
        char *notice,
        char *html
        );

#### Description

The Ns_ConnReturnAdminNotice function returns to a client a simple HTML page with the given notice as the title of the page. It also appends a message directing users to contact the system administrator or web master if specified in the configuration file. The page includes the /NS/Asset/notice.gif image at the top of the page. If the html parameter is not NULL, it is added to the page after the notice. The HTML source can be arbitrarily long and should not contain the <HTML> or <BODY> begin or end tags; these tags will be added by Ns_ConnReturnAdminNotice. Ns_ConnReturnAdminNotice returns a status of NS_OK or NS_ERROR.

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