Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

duplicate session handling in J2EE  RSS feed

 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do you manange the situation if user starts 2 sessions simultaneously ( say from different machines)?
I am planning to use HTTPSession object for my state and no Statful session bean.
Any inputs are welcome.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each user will have a different HTTPSession. What is the problem here? :roll:
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm guessing this means that you don't want the same user id to be logged in multiple times. If this is the case, you have to keep track of who is logged in an prevent multiple logins.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!