You are here: Re: [PHP] Session has new id on 'some' pages. « PHP « IT news, forums, messages
Re: [PHP] Session has new id on 'some' pages.

Posted by Marek Kilimajer on 07/18/05 18:25

Andy Pieters wrote:
> Ok found the solution, seems like one page is on http://server.org.uk and the
> other on www.server.org.uk even though its the same server it generates a
> different session id!
>

set the domain of the cookie to 'server.org.uk', it's the fifth
parameter of setcookie()

 

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

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