Sim Posted June 21, 2020 Posted June 21, 2020 I have 2 instances of GL installed in different sub-directories on my server. I just realized when I login one of them, I am logged in both of them. If I logout of one of them, I get logged out of both of them. I am unsure if my login credentials are the same on both games, but regardless I shouldn't be logged in or out of both. @Dayo Quote
Spydre452 Posted June 21, 2020 Posted June 21, 2020 Perhaps they're connected to the same db? 2 Quote
Dave Posted June 21, 2020 Posted June 21, 2020 I imagine it'll be the PHP session cookie, it's probably not restricted to the directory and rather to the domain. So you have a session which appears correct to both applications. You can either tell PHP the directory the cookie should be available on, or alternatively use sub domains 🙂 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.