• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Tracking

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !
I wanted to clear my concepts about session tracking. I think that when HttpSession object is created some string is stored on the server for some time and cookies are not created on the browser. Am i correct ?
Regards
Danish
 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
HttpSession Interface is for storing some client related information in the server so that the information could be accessed accross all the pages used up by that client.This will not stop the <cookie> getting created.By default when u request a webpage for the first time,ur webserver generates a <cookie> and is appended to the response header and send back to the client.In the client side if the <cookie> option is on then the cookie is stored and sent in request header for the next request by the same client.If u have some information that needs to be shared accross pages then session objects are used.<Cookies> live on the client whereas ur session objects are stored on the server.For the server to identify if its the same client <cookies> are passes to and for between client and server.
Cheers
Geeta
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic