Jump to content

Recommended Posts

Hi to all,

 

I have created a login system which passes the user name as a session variable.

After the user has logged in to the site, I open another tab or window and login as another user. Then I go back to the first window and refresh the page, this causes the user variable to change to the second user name.

 

How can I fix this problem?

 

Thank you,

 

Beta1.0.

Link to comment
https://forums.phpfreaks.com/topic/71843-solved-session-conflict/
Share on other sites

Thank you for your fast response.

 

I have opened a second window ( I am doing this in firefox ) and logged-in as another user and then went to the first window and refreshed the page. I get the same effect, where the user name of the first window changed to the username of the second person that logged-in.

 

But this does not matter anymore, you are right. I first thought that gmail works the way I want it to work, but now I see that it only lets one computer to access one account at a time.

 

How will it cause problems if I start blocking ip addresses?

 

Thank you,

Beta1.0.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.