aspose file tools
The moose likes Servlets and the fly likes Cookies vs HttpSession values? 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 "Cookies vs HttpSession values?" Watch "Cookies vs HttpSession values?" New topic
Author

Cookies vs HttpSession values?

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 263
I have made an application which use HttpSession values to store the user data of the users being logged into the system.

If I change my browser settings to block for all cookies, it seems that the web application loose all the session values and throws a null pointer exception.

Do session values correspond to cookies?

I have a webbank where it is possible for me to log into the system, in spite of I have blocked for all cookies. How do this application store the user data?
Naeva Darley
Greenhorn

Joined: Jan 17, 2006
Posts: 2
Usually cookies are used to exchange session ID between client and servers. If your client doesn't accept cookies, then your application needs to use URL rewriting to work with session.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cookies vs HttpSession values?
 
Similar Threads
EJB Stateful Session bean vs HTTP Session
IBM 287 Sample test question
HttpSession Dilemma
Multiple User Sessions getting Mixed - Please help
Session or hidden form