Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Cookies with a Portlet

 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

So I'm attempting to store cookies from within a portlet to be read by a separate application (same domain).

Here's the code that creates and adds the cookie:



But the cookie doesn't seem to be making it. I'm watching in the browser (Firefox Page Info) as well as a little portlet I write that displays cookies, attributes, etc. and it's not there. No error messages... just no cookie.

Any thoughts?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic