Table Of Contents

Vvidget ServerCommon Keys ► Admin

This section explains the admin URL. The admin URL is used for two purposes: (1) To delete Caching entries and (2) to set logging in the Peer Visual Server. The admin URLs can only take effect with direct URL requests on the channel index corresponsing to the port of the PVS.

Admin Cache URL

An admin cache URL takes this form:

http://localhost:9877/direct?1&EMAIL&admin&instruction=cache&operation=delete&session_name=uhr23845d

Notice how the first part of the URL is to the localhost computer on port 9877 with a URL root of direct. By default, port 9877 is channel 0 and port 9878 is channel 1. Each of those channel and port numbers correspond to a different Peer Visual Server running on your computer. The channel number is important because the cached result will be stored within a particular server and that server must be referenced when altering the cache. For additional information on this issue see Direct URL.

The following table defines the keys and values for the admin cache URL:

Caching Entries
KeyValue Description
instructionAlways the word cache.
operationAlways the word delete.
session_nameIf present, then only the cache corresponding to the session_name is deleted. Issue this type of URL when your session expires on the web application server. If this key is not present then the entire cache is deleted.

Admin Logging URL

This URL will adjust logging within the server so you can see what it is doing. Logging is reported to stderr, usually the Console of the computer the PVS is running on. An example is:

http://localhost:9877/direct?1&EMAIL&admin&instruction=report&operation=all

Logging Entries
KeyValue Description
instructionAlways the word report or packet_report. Usually you would want to use report. If you use packet_report then each packet status is reported.
operationOne of off, error, summary, all. off: no logging (the default); error: log errors only; summary: log incremental summary usage and errors; all: log everything.



© 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.