jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes If a user has disabled cookies ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "If a user has disabled cookies ..." Watch "If a user has disabled cookies ..." New topic

If a user has disabled cookies ...

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
If a user has disabled cookies for the browser with wich
navigates how is it posible to use objects (beans)
with the session scope ? It is posible to send parameters
from on page to another encoding all in the url and taking care of all the links in the pages , but couldn't that be done in another way ?
Thanks for any reply.
Tom P
Ranch Hand

Joined: May 06, 2000
Posts: 88
The only way is to put the session information into the URL. This can be done by using encodeURL(String urlToEncode)
see: java.lang.String)" TARGET=_blank rel="nofollow">http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String)
Aaron Robinson
Ranch Hand

Joined: May 15, 2000
Posts: 46
You can also put data in hidden fields in the HTML.

SCJP 1.0,1.1,2 SCJA 2
I agree. Here's the link: http://aspose.com/file-tools
subject: If a user has disabled cookies ...
It's not a secret anymore!