This function is used to disable the browser cache or (if the option parameter is provided) influence its behavior.
WebAPI.bdh
WebSuspendCache( in nOption : number optional );
none
Parameter | Description |
---|---|
nOption |
If this parameter is omitted the cache will be disabled (no cache hits at all). If it is provided it can be one of the following values:
|
dcltrans transaction TMain begin WebSuspendCache(); WebPageUrl("http://lab3/shopit/", "ShopIt - Greetings"); WebSuspendCache(WEB_CACHE_FULL_HIT_ONLY_IN_PAGE); WebPageUrl("http://lab3/", "homepage"); WebResumeCache(); end TMain;