BrettCarr Posted October 27, 2011 Share Posted October 27, 2011 Hi guys, I have a question, I have a fairly large site wich we have resellers for, but in certain circumstances for admin purposes, we need to be able to login under the same credentials EG: I might be doing something on one machine and i need to log in on another machine to do something else but with my user name and pass At the moment when i try to to this It will log out the session already logged in when i try to log in from the other machine Is there away around this,, i suspect that when i log in from the other machine its ending the first session Any Idears Guys and Gals..... really stuck Link to comment https://forums.phpfreaks.com/topic/249880-user-multiple-login-but-having-_session-variable-problem/ Share on other sites More sharing options...
sunfighter Posted October 27, 2011 Share Posted October 27, 2011 set yourself up with a different name and pass on computer two. Link to comment https://forums.phpfreaks.com/topic/249880-user-multiple-login-but-having-_session-variable-problem/#findComment-1282743 Share on other sites More sharing options...
The Little Guy Posted October 27, 2011 Share Posted October 27, 2011 what it sounds like is happening is that you are over writing session data. I would do something like this: $_SESSION[0] = array( "ID" => 123123, "something" => "some value" ); $_SESSION[1] = array( "ID" => 123321, "something" => "some value again" ); Link to comment https://forums.phpfreaks.com/topic/249880-user-multiple-login-but-having-_session-variable-problem/#findComment-1282746 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.