[TOC] [Prev] [Next] [Bottom]



userAgent

Valid in all scopes

The value of this configuration variable is used in the header of HTTP requests sent by Tango Server as a result of timed URL execution, startup and shutdown URLs, and the URL specified in variableTimeoutTrigger. It is also used as the default value of the USERAGENT attribute of the <@URL> meta tag.

The User-Agent value in HTTP requests gives the destination server information about the program (such as, name, version, and platform) that is requesting the URL. For instance, the User-Agent value passed by Netscape Navigator 4.04 for Windows NT is:

Mozilla/4.04 [en] (WinNT; I)

Servers often use the user-agent information to determine the format of the results returned. (Tango application files can get the user-agent information from a request using <@CGIPARAM NAME="USER_AGENT">.) For example, a server may return a special version of a page, including browser-specific HTML for additional features, when the browser is Netscape Navigator or Internet Explorer.

The default value of userAgent is empty, causing Tango Server URL requests to use "Tango Application Server/[version]([platform])", where [version] and [platform] are the values returned by <@VERSION> and <@PLATFORM> meta tags.

See Also

<@URL>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.