There you can set cookies for your portlet on the response of each lifecycle method (processAction, processEvent, render, and serveResource) with the following code:
response.addProperty(javax.servlet.http.Cookie cookie);
The cookie can then be accessed in all lifecycle methods using: request.getCookies(); method.
No comments:
Post a Comment