Hi,
I have multiple ecommerce websites having shared checkout & login system & all resources are also shared. I have pointed domain2 to domain1 using CNAME. IP addresses of both domains are different.
Issue is that session is not maintained across multiple domains. I want to setup as if someone login from www.domain1.com & browse other domain called www.domain2.com, login information should be available in www.domain2.com.
I put below code in .htaccess file of www.domain2.com but its not working.
<IfModule mod_php4.c>
php_value session.cookie_domain www.domain1.com
</IfModule>
I read so many forums & articles related to cross domain cookies but I cant find proper solution on how to implement it.
Urgent help is needed.
Thanks in advance.