Kbase P69595: Does the 'client_cache_directory' session property allow a relative path, or must it be an absolute
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/10/2004 |
|
Status: Unverified
GOAL:
Does the "client_cache_directory" session property allow a relative path, or
must it be an absolute path?
FIX:
In Theory, the code should work even if you specify the relative path as the code basically assigns the final file name (the dir name found by client_cache_directory + the file name) to FILE-INFO:FILENAME and does a FILE-INFO:FULL-PATHNAME to get the full path name to be used to get the class cache file. There will be runtime errors if the relative path can not be resolved by FILE-INFO:FILENAME.
The purpose of client_cache_directory session property is to reduce an AppServer hit by providing the absolute path and not have to go fetch the path from the ry-clc product module in repository.
If it is not possible to provide an absolute path, then consider using the default ry-clc method as opposed to trying to provide the relative path in the client_cache_directory (described in the dynamics performance white paper) at the expense of an additional AppServer hit per session.