You are here: Re: Cookies problem, I believe it has to do with domains? « PHP Programming Language « IT news, forums, messages
Re: Cookies problem, I believe it has to do with domains?

Posted by Alvaro G Vicario on 05/17/05 17:58

*** martinsgattoni@gmail.com wrote/escribió (16 May 2005 08:09:54 -0700):
> Is this because it is being called from a different domain?

Cookies are always attached to a domain and (optionally) a directory.
Several reasons for that:

* Browsers don't need to waste bandwidth sending *all* cookies stored in
the computer with every HTTP request.

* Sites don't overwrite other's cookies.

* Your private info stored in cookies is not sent to every site you visit.


If you need to create a cookie and read if from other sites, you can create
one different cookie per site (with the same value), but you must be aware
that some browsers block third-party cookies by default.




--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация