I have seen a few websites which have done things mentioned below. i am wondering how they have implemented that . May be some one could tell us that
1. user A logs in a window 2. Then a new window is opened using Ctrl-N and from there he reaches the login window and logs in as user B . 3. When the user tries to operate in the first window , that says session expired .
it mean only one user can operate , how is this achieved ?? Assume that while the user B tried to login, he might have checked if some user has logged in and we can invalidate the old session up on which a new session will be created for B . But this session will be shared for both the browsers and the output of user B is expected even in the first window where user A has logged in