portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Görg" <Alexander.Go...@gmx.de>
Subject Attributes in PortletSessions
Date Thu, 28 Jul 2005 11:45:20 GMT
Hallo all together,

I set an attribute into a Session (Applicationscope). In my opinion nobody
else as the person who own the session should see the attributs value,
right?

In this case (example) each other person can read the value on the
jsp-page...


Any Idea?

Thanks in advance!!!

example:
   protected void doView(RenderRequest renderRequest, RenderResponse
renderResponse)throws PortletException, IOException
   {
	   PortletSession sess = renderRequest.getPortletSession(false);
	   if (sess != null)
	   {
	   	sess.setAttribute("Parameter", parameter, sess.APPLICATION_SCOPE);
	   }

	   renderResponse.setContentType("text/html");
	   getPortletContext().getRequestDispatcher(path +
jspName).include(renderRequest,renderResponse);

   }

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse fr Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message