Hi everyone,
I have my main website which is the live version and a copy of this website in a sub-directory with separate DB, users etc.. I've changed the .htaccess file RewriteBase accordingly.
If I log onto my MAIN site and my TESTA site, there is no problem. If I create a new test website (TESTB) in a sub-directory and also with separate DB, users etc I cannot be logged into TESTA and TESTB at the same time. If I log into TESTA then into TESTB, I get booted out of TESTA. Why is that?
This is what I have
MAIN
MAIN/TESTA/
MAIN/TESTB/
Thanks
Because both are on the same domain, the sessions are the same. Create onto a sub-domain instead.
The session and the logged in customer ID is being switched around, but you have 2 different DBs. This means that switching between directories causes you to switch to a different DB, but running on the same session. The same logged in customer ID in testA that you have mentioned may not be present in testB database.
Who is online
Users browsing this forum: Semrush [Bot] and 143 guests