Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session tracking

 
Arunabh Dash
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have some doubts regarding session in a servlet.
How can i distinguish different user request when every "request" in the servlet can have different session(what i know). I mean in different servlet the request will be different thus session is also different.

SO when i set the data in one session of certain request then will i be able to retrive it from the session of some different request???
Can any one explain the stuff nicely or tell me if i m wrong in my understanding.
with regards
Arunabh
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arunabh Dash:
I mean in different servlet the request will be different thus session is also different.


No.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Multiple requests from the same browser within a given value will all share the same session.
That's what makes it a session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic