Yeah, I can tell the problem part.. but why would it generate the same id for multiple folks? I have had about 50 people log in.. I would say 15 or so of them have had the same id and then their info is getting crossed.
I am simply taking
$session=session_id();
and storing it in a database for later use, but also is being used in a url for variables like userid while browsing around. I have had folks that will be browsing fine with their account, then it just turns into someone elses account.