I'm using wincache to store the value persistent. I'm using the below code to store the value
$newhighlowarray = array();
//high low calculation
if(wincache_ucache_exists("Highlow")) {
$existhighlowarray = wincache_ucache_get("Highlow");
$isexist = true;
$newhighlowarray = /* Calculations*/;
}
wincache_ucache_set("Highlow", $newhighlowarray);
I need to store value without time expire, i will update the cache for every second because of value changes in my stock market.
But this cache get clear some of the time and also some time happening 500 internal server error this time also getting clear the cache.How to store the value persistent with out clear my cache. Please help anyone.
My hosting server windows server with iis7