8.0

Table Of Contents
flushall
Flushes all documents from the cache.
When this request is sent to Server Manager using either HTTP or Web services, the cache of all
registered QuarkXPress servers is flushed.
Namespace
flushall
Response
QuarkXPress Server responds with the message "CACHE FLUSH
COMPLETED"
Alerts
Incorrect
administration realm
user name and
password.
HTTP Error #401
This alert is displayed when the wrong administrator user
name and password are specified.
What to do: Identify the correct user name and password that
were set in the Server Configuration dialog box, and then
resubmit the Flushall request handler with the correct user
name and password.
Logs
If the cache is successfully flushed, a transaction success message is written to the
QuarkXPress Server Transaction Log file. The transaction entry consists of the
date and time of the request, request type, type of response produced by the
server, size of the response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
11/30/2005 17:37:46 - flushall - Type: text/html - Size: 21 - Client: 127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log file.
The following is a sample of an error log entry:
8/3/2005 17:49:23 - Error - Error Code: 10022 - Incorrect administration realm
user name and password
Example GET
URL
http://localhost:8080/flushall
Example, Object
Model
Request Object Name : FlushAllRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new FlushAllRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
Notes
What happens if user verification is set to "On" for an administrator request?
The Flushall request requires the administrator user name and password if the user
name and password were set in the Server Configuration dialog box. When the
Flushall request is submitted to the browser, it asks for a user name and
password. Enter the same user name and password that were set in the Server
Configuration dialog box and click OK.
Will the Memory Usage field in the status monitor field change when the
Flushall request is issued to QuarkXPress Server?
Page 197