Code: Select all
Header( "Cache-Control: no-cache", true); // HTTP/1.1
Header( "Date: " . gmdate( "D, j M Y H:i:s" ) . " GMT" );
Header( "Expires: -1" );
Header( "Pragma: no-cache" ); // HTTP/1.0
I also learned there was a setting in php.ini that allows PHP to handle this. I found the setting and commented it out, here's what it looks like now:
;session.cache_limiter =nocache
Even before commenting it out, it should not have been setting the cache-control to private by the looks of it.
Anyone else had this issue, or know what I can do to resolve it?
Thanks!