You are here: Re: Same session in a second and third level domain « PHP Language « IT news, forums, messages
Re: Same session in a second and third level domain

Posted by Madkour on 12/10/06 18:45

HI Giacomo,
Can you post the relevent part of your code?
I'm not sure how you're using the "session.cookie_domain". Have you
used it with the cookie set params / get params functions?
You can also use the setcookie function. More information about it can
be found on "http://nl3.php.net/setcookie". There is a point written
about the exact issue you are discussing. It should be possible to use
the same session cookie among sub-domains. According to the information
in the above mentioned link, the absence of the '.' before the domain
name can cause some inconsistencies.

Good luck,

Madkour


Giacomo wrote:
> Giacomo ha scritto:
> > Hi everybody,
> > I have to domains,
> >
> > www.domain.com
> > name.domain.com
> >
> > I would like to share session between this two domains, but I was not
> > able to do this, even if I used "session.cookie_domain" feature.
> >
> > Any suggestions?
>
> Nobody can help me?
>
> --
> Giacomo

 

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

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