Jump to content

[SOLVED] Session conflict


Beta1.0

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.

Archived

This topic is now archived and is closed to further replies.

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