This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Session Tracking

 
sandeeprajsingh tandon
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
May i know the following
Q) What happens to the session object when a browser is opened and Url to MY APPLICATIOn is typed and while i am at it, i open another browser on the same machine and access the same Url. Would the session be different for different browsers. Assume that my Browser supports cookies
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18020
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd know a lot more if you'd asked this question in a forum devoted to the type of question you're asking. This is the IDE and Version Control forum.

http://faq.javaranch.com/java/CarefullyChooseOneForum

However, the answer depends. If all the "browsers" are just windows in the same browser program, they'll all share the same cookies, and therefore the same session. IE and Firefox are 2 different programs with 2 different cookie stores, so an IE session won't be shared with Firefox.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic