Vvidget Server ► Common 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 | |
Key | Value Description |
instruction | Always the word cache. |
operation | Always the word delete. |
session_name | If 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 | |
Key | Value Description |
instruction | Always the word report or packet_report. Usually you would want to use report. If you use packet_report then each packet status is reported. |
operation | One of off, error, summary, all. off: no logging (the default); error: log errors only; summary: log incremental summary usage and errors; all: log everything. |