If your portlets are packaged in the same WAR, the sample code you provided will actually
work.
Otherwise, you'll have to employ interportlet-communication or use JBoss's
proprietary APIs to achieve session sharing.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220051#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...