Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Session Tracking

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27808
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic