• 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 tracking

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have following doubts regarding session tracking by web server.
1. Does the session maintained at the server is unique for every browser instance, or a session is same for the requests coming from a particular machine.(JSP session is browser based or the client machine based)
2. If I am using cookies while sending my request to server , will it be different for different browser instances. If not manipulation of cookies at server side will affect all the browser instance.
Pl clear this doubt.
Thanks in advance
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HttpSession identity is tracked by a unique ID associated with a cookie - or - a tag created by URL-rewriting. If by a cookie, it will be unique to a particular browser.
The servlet container does cookie setting and reading for you, but you have to handle URL-rewriting by your program.
reply
    Bookmark Topic Watch Topic
  • New Topic