Michael, Try setting the session attribute with APPLICATION_SCOPE. Hope this helps you.
Thanks Susheel ________________________________ From: Michael Boss [mailto:[EMAIL PROTECTED] Sent: Sun 8/27/2006 11:24 AM To: [email protected]; [email protected] Subject: Session problem Hi All, I have two Portlets. One transfers data to another. For example I transfer attribute "name": PortletSession session = request.getPortletSession(); String name = "TestName"; session.setAttribute("mf_name", name,PortletSession.PORTLET_SCOPE); And another portlet receives this attribute: PortletSession session = request.getPortletSession(); String name = (String) session.getAttribute("mf_name", PortletSession.APPLICATION_SCOPE); System.out.println("Name: "+name); Here I receive null (name=null). What is wrong? What I do incorrectly? Many thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
