Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
372 views
in Q2A Core by
edited by
Hi, I have 2 sites:

abc.com

and

sub.abc.com

both running Q2A and using same user base. I have given

define('QA_COOKIE_DOMAIN', '.abc.com');

for both the sites. But I have an issue that when I navigate to any page on abc.com I get logged out from sub.abc.com. Any help?
Q2A version: 1.8

1 Answer

0 votes
by
Do not know what exact cookie was the issue- but clearing the cookie on the browser solved the issue. Now, login works on both sites as if they are one site.
...