Re: Cookies and sent headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 18 Aug 2007 17:03:35 +0200, "M. Sokolewicz" wrote:

> The reason why setting cookies for you doesn't work is because of the 
> way a HTTP response is structured. It consists of 2 parts: header and 
> body separated by 2 new lines (\n\n). It is _required_ that _all_ 
> headers come _before_ the body. Cookies are actually headers (a 

   Actually, it is perfectly possible (in theory) to
send most headers _after_ the body. See RFC 2616,
sections 14.40, 3.6.1 and 14.39. I don't think it is
possible with (non-nph) PHP though.


/Nisse

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux