Dear,

To set the limit of your cache you need following code:
code:
    $cache_limit_size="5120"
$debug_mode="yes"
;
$ikey="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ; - NT/95 -
IF (existkey($ikey) = 0)
$completed="no"
$index=0
DO
$icode=ENUMKEY($ikey, $index)
IF (@error = 0)
IF (len($icode) <> 0) AND (Instr("123456789",SubStr($icode,1,1)) <> 0)
IF ($debug_mode = "yes")
? $ikey+"\"+$icode
ENDIF
$ikey2=$ikey+"\"+$icode+"\Cache\Content"
IF (existkey($ikey2) = 0)
$null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD")
ENDIF
$ikey2=$ikey+"\"+$icode+"\Cache\Cookies"
IF (existkey($ikey2) = 0)
$null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD")
ENDIF
$ikey2=$ikey+"\"+$icode+"\Cache\History"
IF (existkey($ikey2) = 0)
$null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD")
ENDIF
ENDIF
ELSE
$completed="yes"
ENDIF
$index=$index+1
UNTIL ($completed = "yes")
ENDIF

The value of variable "$cache_limit_size" is a decimal value.
Script works for all internet explorer versions.
Script verified for Kixtart 3.63 and 4.x
greetings.

btw: don't get scary of it. just remember that some software can and may influence a great
amount of registry settings. Just you latest reply specifies exactly what you are wanting.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA