aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Tracking " Watch "Session Tracking " New topic
Author

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 ?
Regards
Danish
Geeta Ramasami
Ranch Hand

Joined: Mar 05, 2003
Posts: 72
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Tracking
 
Similar Threads
Session is never null.
Grading for exam
How to invalidate a user session, when I only have a session ID?
Keep having to login with container based authentaction.
HttpSession vs. Pseudo Session