[ Table Of Contents | Keyword Index ]

ns_configsection(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_configsection - Return a handle to an ns_set for a section of the server's configuration

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES
    SEE ALSO
    KEYWORDS

SYNOPSIS

ns_configsection section

DESCRIPTION

This command returns a handle for an ns_set which contains all the parameter key-value pairs for the section from the server's configuration. If the section is not defined, this command returns an empty string.

COMMANDS

ns_configsection section

EXAMPLES

 
 % set setId [ns_configsection ns/parameters]
 t0

 
 % ns_set name $setId
 ns/parameters

 
 % array set a [ns_set array $setId]
 % array names a
 EnableAdmin MailHost Home Group User debug

SEE ALSO

nsd

KEYWORDS

ns_config , ns_configsections , ns_set