server.agent (Property)

Describes the server being used.

Availability:

JavaScript - 1.1
Netscape Enterprise server - 2.0
Property/method value type:String primitive
JavaScript syntax:NESserver.agent

The userAgent property of the navigator object in a web browser describes the kind of browser being used. This value is presented as a text string.

This is the corresponding property in a web server and provides a way to deploy scripts that are shared amongst several variants of a server that are compatible but different.

See also:Navigator.userAgent