• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If a user has disabled cookies ...

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also put data in hidden fields in the HTML.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic