javax.portlet.RenderResponse.addProperty(cookie); does not work in CR1 - Cookie is not set
in the HTTP header
-------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-763
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-763
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.0.0-CR01
Reporter: Tugdual Grall
I have created a portlet that implements this method
...
protected void doHeaders(RenderRequest request, RenderResponse response) {
Cookie cookie = new Cookie("CustomPortletCookie", "Value of my
Custom Cookie");
cookie.setPath(request.getContextPath());
response.addProperty(cookie);
super.doHeaders(request, response);
}
....
When I look at the header on a page that contains this portlet, I do not see any cookie in
my HTTP request/response
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira