FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » script php with <img scr...../>
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: script php with <img scr...../> [message #180369 is a reply to message #180368] Tue, 05 February 2013 23:21 Go to previous message
Christoph Becker is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compatibility between php 5.3.21 and 5.3.15 for pgsql
Next Topic: change a string where have number after a word
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 18:11:44 GMT 2024

Total time taken to generate the page: 0.04879 seconds