http://www.htmlexe.com/help/scriptreference.htm[/quote]“gdgsupport” said:This function exists (HEScript built-in function), it is called ClearIECacheOrHistory
Lets you clear the IE’s cache (Temporary Internet Files) or the IE’s history.
procedure ClearIECacheOrHistory(ClearCache: Boolean);
See http://www.htmlexe.com/help/scriptreference.htm
- ClearCache: True to clear the cache or False to clear the history.
procedure OnPubBeingClosed;
begin
// When the publication is going to be closed.
ClearIECacheOrHistory(True);
end;
“gdgsupport” said:Edit the UserMain script, locate OnPubBeingClosed in the script and replace the three lines by:
Code:procedure OnPubBeingClosed; begin // When the publication is going to be closed. ClearIECacheOrHistory(True); end;
3.6gdgsupport said:Which version of HTMLExe are you using?
“gdgsupport” said:Yes, HTML Viewer publications don’t use the IE cache, they store nothing on the hard disk because everything is temporarily stored in the memory. Thus, there is no function to clear a cache because there is no cache.
ClearIECacheOrHistory will work only for IE publications.
procedure OnPubBeingClosed;
begin
// When the publication is going to be closed.
SetGlobalVar("CachePassword1", "", True);
end;
We use essential cookies to make this site work, and optional cookies to enhance your experience.