Win a copy of Murach's Python Programming this week in the Jython/Python 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
Sheriff
Posts: 36406
454
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!