Please remember this is a work in progress. Home » Types

Types

 

TCacheType

 

Unit

IW.CacheStream.pas

Definition

type
 TCacheType = (ctOneTime, ctApp, ctSession, ctForm);

  • ctOneTime: Cache file will be created and deleted after being used. This is for IntraWeb internal use only.

  • ctApp: The cache file will be created as an application cache file. Application cache files are available across sessions, and last while the application is active. The cache file will be removed during application shutdown. Use this type of cache if you want to share a cache file among sessions, and want to keep the cache file alive during the application lifetime.

  • ctSession: The cache file will be created as a session cache file. Session cache files can be used by a single session and are not visible by other sessions. The cache file will be removed when session expires or when it is closed/destroyed. Use this type of cache if you want to create a cache file for a single session use, and want to keep the cache file alive during the session lifetime.

  • ctForm: The cache file will be created as a form cache file. Form cache files are available during the form lifetime cicle. When the form is destroyed, so is the cache file. Use this kind of cache if you want to create a cache for a single IWForm use.

 

Terms of Use | Privacy Statement © 2002 - 2024 Atozed Software