• 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 in servlet

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends ,
tell me when we open mail ID (inbox) , if we copy addressbar string and paste
into another browser's address bar then it gives invalid session. why it does not open same page again.

i want to implement into my web application how should i implement ?

tell me how it happen ?
 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's expected behavior when a session is cookie based. Cookie it's something hidden for you browser sends to server and servlet container uses it to maintain session. If you would like to keep session copying URL from address bar of one browser to an address bar of other browser, then you can try to use session based on URL overwrite mechanism. Check your servlet container doc how to enable it. In this case URL will include session token and you can continue work on other instance of a browser.
reply
    Bookmark Topic Watch Topic
  • New Topic