I want to access session on all subdomains. Both subdomains are on same server. I have added the line below in .htaccess:
php_value session.cookie_domain .domain.com
Also in php.ini, session.auto_start is set as on
Your help with some code examples will be much appreciated.