File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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">
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:
subject: If a user has disabled cookies ...
It's not a secret anymore!