Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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 🙂

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...