i face a problem when one men which name is arun has two userid: arun1
he use two tabs in same browser and login first with arun1 and now second time with arun2 so arun1 think he is doing something transaction but in databses this entry is goes on name of arun2 (latest login )
because browser shres the same sessionid with different tabs . i know this fact
i want that when second user (arun2) will be login then arun1 will automatically goes to logout and login screen will be coming for arun1
how i implement these because these feature si have seen in gmail also .