webserverinfo
ITEM
,
RESULT

The webserverinfo statement retrieves additional information about the web server and the current browser request.


Parameters

This statement has two parameters:

item – specifies what additional information should be retrieved.

result – field or variable where the retrieved information will be placed.


Description

This statement retrieves additional information about the web server and the current browser request. This statement only works on Panorama X Server, and only when an external web server is being used (see Using an External Web Server). For example, this code could be used to find out what external web server software is running:

local serverSoftware
webserverinfo "SERVER_SOFTWARE",serverSoftware
// variable serverSoftware will contain something like --> Apache/2.4.48 (Unix)

The webserverinfo( function can also retrieve the same information, like this:

let serverSoftware = webserverinfo("SERVER_SOFTWARE")

The available items that can be retrieved include:

Note: Some of these options may not be available on all servers.


See Also


History

VersionStatusNotes
10.2UpdatedCarried over from Panorama 6.