aspose file tools
The moose likes Servlets and the fly likes HttpSession and Cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "HttpSession and Cookies" Watch "HttpSession and Cookies" New topic
Author

HttpSession and Cookies

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Hi All,

Where is the session info stored if we are using HttpSession and Cookies?/

Thanks.


Be Humble... Be Nice.
Uli Hofstoetter
Ranch Hand

Joined: Nov 24, 2006
Posts: 57
The session is stored on the server.

The cookie is stored on the client browser and is used to match the client request to the according session.


SCEA5, Certified ScrumMaster
Angel Taveras
Ranch Hand

Joined: Nov 13, 2008
Posts: 84

Also the session info could be stored in a token in the url. You could do this to disable the session cookie.

Regards,
[ December 23, 2008: Message edited by: Angel Taveras ]
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Thanks Uli and Angel for replying
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpSession and Cookies
 
Similar Threads
Cookies
Difference between HTTPSession & Cookies
does request.getSession().setAttribute work if cookies disabled
Sessions without cookies
Why use stateful bean.