Re: script php with <img scr...../> [message #180369 is a reply to message #180368] |
Tue, 05 February 2013 23:21 |
Christoph Becker
Messages: 91 Registered: June 2012
Karma:
|
Member |
|
|
The Natural Philosopher wrote:
> On 05/02/13 22:57, Christoph Becker wrote:
>> The Natural Philosopher wrote:
>>
>>> On 31/01/13 22:19, Christoph Becker wrote:
>>>>
>>>> Why is starting a session a bad move?
>>>>
>>> I dont thinks a strict file download can set a cookie.
>>>
>>> I could be wrong in that.
>>
>> According to RFC 2109 section 4.2.1 a session (not to be confused with a
>> PHP session) is initiated by sending an extra request header
>> (Set-Cookie) in the response. And even a strict file download consists
>> of a HTTP request and an according response. So no problem here. :)
>>
> I stand corrected.
>
> Do all browsers honor it though?
Every browser is free to ignore the Set-Cookie header anyway. However,
I expect browsers to handle this the same independent of the Content-Type.
--
Christoph M. Becker
|
|
|