wood burning stoves 2.0*
The moose likes JSP and the fly likes Sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Sessions" Watch "Sessions" New topic
Author

Sessions

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
I have a doubt with respect to sessions.I would like to know if a user request for a url for the first time, the server would generate the sessionID and would set the sessionID in the response header.If the browser supports cookies, will the sessionID be automatically stored in cookies.For the next subsequent request from the same user will be cookie be retrieved automatically and send along with the request.
In the client machine after accessing an url a text file with the loginid gets stored in a folder called cookies.How that text file with the user information is used implicitly.Bcos programatically i don't think the information present in the text file is used up.
If my browser doesn't support cookies then if i use urlEncoding will the sessionID be automatically appended to the URL.
My main doubt is will the sessionID automatically gets generated at the server side.
Regards
Geeta
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sessions
 
Similar Threads
doubt regarding response.encodeURL and JSessionid
Doubt in cookies ?
url rewriting doubt
role of cookie in session
Doubt about header