Jump to content

User multiple login but having $_SESSION variable problem


BrettCarr

Recommended Posts

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

 

 

 

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"
);

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.