Re: totally WEIRD bug? Firefox caching? [message #185390 is a reply to message #185389] |
Sat, 22 March 2014 18:08  |
Doug Miller
Messages: 171 Registered: August 2011
Karma:
|
Senior Member |
|
|
Robert Heller <heller(at)deepsoft(dot)com> wrote in news:
_aadnfFhz7t_LbDOnZ2dnUVZ_j2dnZ2d(at)giganews(dot)com:
> At Sat, 22 Mar 2014 12:10:00 +0000 The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>>
>> On 22/03/14 06:24, Nisse Engström wrote:
>>> On Thu, 20 Mar 2014 18:39:10 +0000, The Natural Philosopher wrote:
>>>
>>>> The problem is that it didn't send an error code in the header
>>>>
>>>> It sent a valid header, the some error text, and then the PNG
>>>>
>>>> I generate all my own headers so there's a strange bug somewhere, but at
>>>> least I know where to look.
>>>
>>> I don't know if it is relevant, but there's a long standing bug
>>> in Apache where it sends its own HTTP response after the output
>>> of an NPH-scipt. If I recall correctly.
>>>
>>
>> Mmm.
>>
>> I took a break from coding after tearing my hair out on this one. So I
>> still haven't tracked it down to the bottom. I needed to step back and
>> look at the authorisation mechanisms which were getting so complicated
>> even I didn't entirely understand them, and write some documentation on
>> them and construct some state machine charts so that I could look at
>> them and construct the right conditional tests for a 2D matrix of
>> authorisation possibilities.
>>
>> Because the problem had two aspects - firstly it was failing
>> authorisation when it shouldn't, and secondly it wasn't behaving
>> correctly for refused authorisation.
>>
>>
>> But I will bear that in mind.
>>
>> And thanks to all those who prompted things that were in fact the wrong
>> answers, because in the end that led me to the right answer.
>
> Standard scientific methology -- one learns as much from 'failed' experiments
> as from successful experiments. Also: "Once you have eliminated the
> impossible, whatever is left, however improbable, is the answer." (Or
> something like that) -- quoted from a well know fictional character...
>
When you have eliminated the impossible, whatever remains, however improbable, must
be the truth.
|
|
|