This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Java Session Tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Java Session Tracking" Watch "Java Session Tracking" New topic

Java Session Tracking

sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 76
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

Joined: Jun 25, 2001
Posts: 17257

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.

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.

An IDE is no substitute for an Intelligent Developer.
subject: Java Session Tracking
It's not a secret anymore!