• 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

session synchronization - management

 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have been working on session management. Each time i open a new browser it is treated as a different client and a new session is created.

P 199 of HFSJ says that : container can still use the same session for a client even though it's coming from different instance of the browser.

My question is how i can share the session created by one browser instance with another browser instance.

Thnx in advance
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi N ( is that your real name ),

it depends on your browser. With the Opera you can really start different clients or different windows (but same client).

I think with the IE browser its always the same client with each new window you open.

When you have two different browsers like Opera and IE than you have also two different clients. Try it and you can see two different jsessionids.

Regards,
Darya
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For IE, either ctrl-N or File->New->Window.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Alec ,It works as expected when i use either ctrl-N or File->New-
>Window.
 
reply
    Bookmark Topic Watch Topic
  • New Topic