This content has been marked as final.
Show 2 replies
-
1. Re: Store cookies in JBoss Portal
vineet_tripathi Jan 26, 2010 6:57 AM (in response to jbhannes)Did u try with the method:
addProperty(javax.servlet.http.Cookie cookie)
-
2. Re: Store cookies in JBoss Portal
jbhannes Jan 26, 2010 7:19 AM (in response to vineet_tripathi)Yes, I tried the methodaddProperty(javax.servlet.http.Cookie cookie).
But on client side (in the browser), no cookie was set. As mentioned in the JavaDoc of this method, there is no guarantee that the cookie is made to the client.
/**
* Adds a HTTP Cookie property to the response.<br>
* The portlet should note that the cookie may not make
* it to the client, but may be stored at the portal.
*/