The moose likes Servlets and the fly likes Session Tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Tracking " Watch "Session Tracking " New topic

Session Tracking

Danish Shaukat
Ranch Hand

Joined: Nov 16, 1999
Posts: 340
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 ?
Geeta Ramasami
Ranch Hand

Joined: Mar 05, 2003
Posts: 72
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.
I agree. Here's the link:
subject: Session Tracking
It's not a secret anymore!