I inspected the headers of some of my sites using cURL and saw this:

HTTP/1.1 200 OK
Date: Mon, 17 Nov 2008 11:17:04 GMT
Server: Apache
X-Powered-By: PHP/5.2.6
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Set-Cookie: CAKEPHP=fhhlo0p1jo40tuiqorp2fs3ub5; expires=Mon, 24 Nov
2008 11:17:04 GMT; path=/
Set-Cookie: CAKEPHP=fhhlo0p1jo40tuiqorp2fs3ub5; expires=Mon, 24 Nov
2008 11:17:04 GMT; path=/
Set-Cookie: CAKEPHP=fhhlo0p1jo40tuiqorp2fs3ub5; expires=Mon, 24 Nov
2008 11:17:04 GMT; path=/
Vary: Host
Connection: close
Content-Type: text/html

and this is similar to the bakery's headers:

$ curl --head http://bakery.cakephp.org

HTTP/1.1 200 OK
Date: Mon, 17 Nov 2008 11:17:29 GMT
Server: Apache
Set-Cookie: CAKEPHP=6c7fb9ccf6f535b920f0bb175997b446; expires=Mon, 24
Nov 2008 11:17:29 GMT; path=/
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Set-Cookie: CAKEPHP=6c7fb9ccf6f535b920f0bb175997b446; expires=Mon, 24
Nov 2008 11:17:29 GMT; path=/
Set-Cookie: CAKEPHP=6c7fb9ccf6f535b920f0bb175997b446; expires=Mon, 24
Nov 2008 11:17:29 GMT; path=/
Content-Type: text/html


Is it OK that the cookie is being set three times? I assume it doesn't
do any harm but must be a waste of bandwidth or something.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to