Table Of Contents

Vvidget ServerCommon Keys ► General

This section explains keys that are common to all, or at least most, dictionaries.

The following table defines the basic input string key and value pairs.

Nonrecursive Entries
KeyValue Description
pvs_version1 for the current PVS URL format.
image_makerUsually the string "chart", but can be other things for a custom peer visual server.
image_widthThe width of the image in pixels.
image_heightThe height of the image in pixels.
image_output_typeDefines the output type. 1 for PNG, 2 for JPEG, 3 for GIF, 1005 for PDF, 1006 for SVG.
image_contactAn arbitrary string that represents the sender's identification.
string_encoding_typeIf 0 then normal character escaped processing is performed on dictionary values. 0 is the default. If 1 then forms based escaped processing is performed where a + is the encoding for a blank. You usually do not have to encode values as web browsers will do it automatically. But, if you are forming a URL for insertion into HTML directly then you should use the escaped encoding for applicable characters.

The following defines recursive keys. These keys redirect the PVS URL encoding to other places which contain new PVS URL encodings.

Recursive Entries
KeyValue Description
input_string_pathRedirects the dictionary processing to a file on the server. Dictionary entries in that file are added to the total input string. Keys in the original query input string that are also in the file are overwritten. This entry can be used for many different things, but especially to store arbitrary information in a data file. See Input String File for an example.
input_string_urlRedirects the dictionary processing to a URL that returns the input string as Content-type: text/plain. Dictionary entries in that returned text are added to the total input string. Keys in the original query input string that are also in the returned text are overwritten. This entry can be used for many different things, but especially to store arbitrary information in a URL. Note that when the URL points to a CGI then the CGI is executed and, hence, the input string becomes programmable and dynamic. See Input String URL for an example.

The following defines redirection keys. Redirection keys are those which forward the PVS URL to another location based on their values, usually a server running on the same or different computer.

Redirection Entries
KeyValue Description
pvs_ipRedirects (forwards) the URL to the host at the IP address defined by the value associated with this key. See Direct URL for an example.
pvs_channelEither 0 or 1 for the channel number of the peer visual server running on the localhost or the host pointed to by the pvs_ip value. See Direct URL for an example.



© Copyright 1993-2020 by VVimaging, Inc. (VVI); All Rights Reserved. Please email support@vvi.com with any comments you have concerning this documentation. See Legal for trademark and legal information.