views:

48

answers:

1

If I set a session in mydomain.com, it doesn't work on www.mydomain.com. I'd like all subdomains, and all www, to be treated as one big thing.

mydomain.com and all its subdomains should have all the session cookies of everything.

Do I change this in Apache2?

edit I think I found the solution: SESSION_COOKIE_DOMAIN = ".mydomain.com"

+2  A: 

I think I found the solution: SESSION_COOKIE_DOMAIN = ".mydomain.com"

TIMEX