[thelist] PHP Sessions and subdomains
MarsHall
evolt at MARSorange.com
Wed Nov 20 08:52:00 CST 2002
On Wednesday, Nov 20, 2002, at 02:34 US/Central, Carlos Costa Portela
wrote:
> When I go from one subdomain to other, I miss the session.
> What must I do to solve this problem?
AFAIK, you must set the domain of all the session cookies to be the
same using:
session.cookie_domain = "biologia.org"
in all of you php.ini and/or .htaccess files.
See all Session Runtime Configuration directives at:
http://www.php.net/manual/en/ref.session.php
Mars :)
More information about the thelist
mailing list