FlushDatabases

Writes all databases to disk and closes them all.

To flush WebCatalog's databases, use a web browser to link to a URL containing the FlushDatabases command. Whenever WebCatalog receives a FlushDatabases command, it immediately saves any modified databases to disk. Newer versions of any database files that have been modified on disk will be used the next time a database is referenced.

Example (normally you would link to a URL or form containing the following information):

http://yourserver.com/xx.tpl?command=FlushDatabases

Try It!

A confirmation message will appear after flushing all the databases.

Here are some other ways to send the same command:
HTML Source Description
<a href="/WebCatalog/WebCatalog.acgi?command=FlushDatabases"> Hyperlink to WebCatalog CGI
<a href="xx.tpl?command=FlushDatabases">
Hyperlink to WebCatalog plugin Action
<form method="POST" action="/WebCatalog/WebCatalog.acgi">
<input type="hidden" name="command" value="FlushDatabases">
<input type="submit">
</form>
Form-based command to CGI
<form method="POST" action="xx.tpl">
<input type="hidden" name="command" value="FlushDatabases">
<input type="submit">
</form>
Form-based command to plugin Action
(notice the template is part of the action)