I have been trying to maintain session vars between two subdomains and found it impossible. I ended up creating 2 minimal PHP web pages as a test bed, one I call \'test 1\' just
I have it working, setting a session name and session cookie parameters:
$some_name = session_name("some_name"); session_set_cookie_params(0, '/', '.some_domain.com'); session_start();