$obCACHE = new CPHPCache;
$iCACHE_TIME=3600;
$strCACHE_ID="AreaMaxPlot";
$strCACHE_PATH = "/object.area";
if (isset($_REQUEST['clear_cache']) && $_REQUEST['clear_cache']=="Y"){ $obCACHE->Clean($strCACHE_ID,$strCACHE_PATH); }
if($obCACHE->InitCache($iCACHE_TIME,$strCACHE_ID,$strCACHE_PATH)) 
    {    
        $arrRESULT = $obCACHE->GetVars();
        $arrAreaMaxDat  = $arrRESULT['AreaMaxDat'];
    }else
        {
            $arrAreaMaxDat='test';
        }
 
if($obCACHE->StartDataCache()) {
    $obCACHE->EndDataCache(array("AreaMaxDat"=>$arrAreaMaxDat));
}