Very strange behaviour - advice needed
ian at ianhobson.co.uk
Mon Mar 28 22:10:39 MSD 2011
On 28/03/2011 16:30, Reinis Rozitis wrote:
>> All input gratefully received.
> What browsers did you use for testing?
I use Firefox, but my users mostly use IE.
> There is kinda a known bug/problem (
> http://support.microsoft.com/kb/812935 ) with IE (older versions at
> least) that the browser doesnt like Cache-Control: No Store / No Cache
> headers (for certain types of documents ) which obviously are sent by
> default if you are using php sessions.
> One of the suggested fixes is to add following header lines to the
> code before sending the file:
> // fix for IE catching or PHP bug issue
> header("Pragma: public");
> header("Expires: 0");
> header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
> Similar case/sample (
> ) just using the nginx X-Accel-Redirect.
> See if that helps.
Thanks for the heads-up!
> If not you probably need to enable some kind of php errorloging
> (logging to file) to catch the problem - it might aswell be just the
> php script exausting 'memory_limit' which in some L(W)AMP
> installations is pretty low.
I've raised it from 128MB to 256MB, but it appeared to make no difference.
I'll try raising the error logging, and sending it to a file.
More information about the nginx