Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging out in Ctrl-N window  RSS feed

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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

can any one explain how to go about this ??

Regards
Sreenath
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ben

This is a bit different .....whats the mechanism used to logout the olde user ?? i think its not based on the session as session will be same for both the browsers
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please continue this discussion in the previous topic.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!