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 Mike Willbanks on 05/16/05 18:57

Drakon,
> The thing is that this app will be shared by different pages (different
> domains). When I browse it from other domain (inside a frame).. It
> stops working.

Cookies can not be shared across domains. The cookie is normally set
for that domain only and the browsers will not allow other pages access
because it could be a huge security vunribility.

As for a workaround you could possibly send the current cookie to the
other page that is in another domain either by javascript or using php
and sending all of the items in the cookie with it.

This is the only thing I could see as a workaround.

Mike

 

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

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