wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "If a user has disabled cookies ..." Watch "If a user has disabled cookies ..." New topic
Author

If a user has disabled cookies ...

Anonymous
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: If a user has disabled cookies ...
 
Similar Threads
TAB key on JTable
Cookie Detection
Encoding errorPage url
Software to detect if cookies are blocked
URL rewriting issue