I wonder if anyone has got the same problem. I have been searching for days now, but have not found any answer to this.
when i turn off zlib compression (or ob_gzhandler for that matter) and insert the following at the top of each document:
if( basename($_SERVER['PHP_SELF'])=='aphpfile.php' ){
session_cache_limiter('public');
$expTime=72460;//i.e. in 7 days.
session_cache_expire($expTime);
}else{
session_cache_limiter('nocache');
}
session_id();
ini_set('session.use_trans_sid', false);
ini_set("url_rewriter.tags","");
session_start();
...output...
the file "aphpfile.php" gets cached , but every other file does not, which is exactly what i want to happen. However, if I enable zlib compression, all files get cached, regardless what the session_cache_limiter says. I even tries to insert numerous header variations after the session_cache_limiter, but to no avail. If anyone has any ideas, i would very much appreciate their input.
Thanks