• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help with session objects  RSS feed

 
kaarthik asokkumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I work with a J2EE application(mostly web container) I have a scenario where i set a session object(bean) when a request comes from a browser.
The user then opens a second browser from the first one and sends me a second request to set the same session variable with a new bean refrence. This causes a problem in the data integrity as data gets mixed in the bean references as both the beans are set as the same session variable(not sure how its mixed but it get mixed). I know that some one might have had this problem bfore but not quite sure on how to handle this.(I am not currently not planning to use EJBs). Any help would really be appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the two browser instances share cookies, they will share the same session.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!