Download Here
Transcript
Chapter 5: WebBase Windows the dialog. If the user confirms that all user variable dictionaries and their contents should be deleted, the user variable dictionaries are emptied and removed. See Chapter 10 for additional information on user variables and user variable dictionaries. This option should be used only during form development and when no users are actively making requests of the WebBase server. If one or more form applications have been developed using user variables and the user variable dictionaries are emptied and deleted, any user currently interacting with the server may get unexpected results or errors. Figure 5.7 Remove All User Variables Confirmation Dialog • Clear Forms Cache -- If this option is selected, the confirmation dialog shown in Fig. 5.8 is displayed. If the user confirms that all the forms in the cache should be cleared, the forms are removed. Forms caching is enabled via the Options menu (Enable Cache Read) or by setting the value of %cacheEnabled% to true (default value). Forms caching can be disabled via menu option or by setting the value of %cacheEnabled% to false. If forms caching is disabled, no forms will be in the cache so it is not necessary to clear them. It is strongly recommended that forms caching be used. When a file is specified as part of a URL, WebBase located the file on disk, opens and reads the file, parses the text into internal structures, and then processes the macros and variables within the file. The resulting output stream is returned to the browser. If forms caching is on, the internal structures built for the file are cached in memory. When the file is subsequently requested, the internal structures are retrieved from cache. WebBase does not have to find the file, read it and parse it. This can provide improved throughput and faster response. It is possible to clear both the forms cache and the ODBC connection cache using the Clear All Caches menu option. Figure 5.8 Clear Forms Cache Confirmation Dialog 52 WebBase User’s Guide