Hello. We've been trying desperately to use session vars from different portlets, where we've been only succesful for portlets deployed within the same war file, by using PortletSession.getAttribute(PortletSession.APPLICATION_SCOPE) or PortletSession.getAttribute(PortletSession.PORTLET_SCOPE), wich in turn just wrap HttpSession with a prefix; another portlet deployed on another war displayed in the same page PortletSession and HttpSession as empty. What we want to do is to propagate, or use a bigger session scope to have common vars for al portlets wether they are or not deployed on same war.
We've read Wiki's and Forums at the following: | http://wiki.jboss.org/wiki/Wiki.jsp?page=DistributedPortletSession | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928916 | ... those pages state there is a " Portal Session " wich I don't understand, is it the HttpSession associated with the portal App ? Or is it the bigger scoped Session I've been looking for ? ... after doing as the Wiki says we've got this on the logs: | 2006-03-09 18:28:33,425 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id 8lPBE29FsB5QxuZdOf2hdQ** | 2006-03-09 18:28:33,425 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 7 and replicate. | ... yet the portlet being displayed from the other war does not see anything in session, nor portlet-scoped portlet, application-scoped portlet, nor http session. Any idea on how to propagate portlet session vars would be really nice. Thanks. P.S. There is a " org.jboss.portal.test.portlet.CrossContextSessionPortlet " stated in the jBoss Portal API wich extends GenericPortlet but there is not much description about it and we cannot find it inside the portal jars jBoss 4.0.3SP1 jBossPortal 2.2.1RC2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929189#3929189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929189 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user