permaculture playing cards*
The moose likes Portals and Portlets and the fly likes Adding Cookies with a Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Adding Cookies with a Portlet" Watch "Adding Cookies with a Portlet" New topic
Author

Adding Cookies with a Portlet

Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

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?
 
GeeCON Prague 2014
 
subject: Adding Cookies with a Portlet