Content-type: text/html Agent Tag

Home
WebGroove is no longer supported. These docs are reference only.


Agent Tag
Sets an Agent system option to a specified value. Any embedded variable references will be expanded. If a particular value contains white space you must surround it with double quotes or use the block version of the tag. You may set more than one option at a time with the single line version.

Examples
<agent suppress>

<agent connect="DATABASE=mydb" errspot=handler>

<agent connect>
DSN=mydatabase;UID=bubba;PWD=whoknows;
</agent>


Syntax
You can use either a single tag or tag pair form. In most cases it is more convenient and understandable to use the single tag syntax.

Attributes
connect=System database connect string
errspot=System error handling spot
escback=Characters to escape with backslash for database escaping. Defaults to both quotes ('") for mSQL/MySQL, and nothing for ODBC.
escself=Characters to escape with themselves for database escaping. Defaults to single quote (') for ODBC and nothing for mSQL/MySQL builds.
expand={auto|literal|variable} Variable expansion method. Automatic (auto) is the default, literal expands to a literal value, and variable expands Agent variables to Perl variable references.
showerr[={on|off}]Show errors in HTML comments.
suppress[={on|off}]Suppress normal output to web browser.


See Also
Skip Tag
Spot Tag

Up To
Agent Tags
Complete Tag Reference


WebGroove® is a registered trademark of Creativision Publishing Corporation