dragan Posted May 4, 2018 Share Posted May 4, 2018 (edited) If I have two PW sites that sit in separate folders, I can't be logged-in in both sites. e.g. site.com/project-a/pw-admin-slug/ site.com/project-b/pw-admin-slug/ If I login to project-a, then also login to project-b, get back to the first site, I have to login again. Is the cookie / session mechanism storing my domain? If it does, and it's meant to be some sort of security enhancement, it should not check my domain, but root-URL of the PW-installation. (strangely, this doesn't happen on localhost) Is it possible to prevent that behavior? Often I have two sites open (e.g. check to see if I have the same CKEditor setup and quickly copy and paste it, or copy a user-role) Edited May 4, 2018 by dragan re-phrasing Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 4, 2018 Share Posted May 4, 2018 The cookie contains: domain and path Although both PW instances create the same named cookie. I'd move sites to subdomains. That works without any problems. 2 Link to comment Share on other sites More sharing options...
psy Posted February 11, 2019 Share Posted February 11, 2019 Agree with @wbmnfktr Have always used subdomains on my development host and never encountered this issue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now