portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liang Chen <landis.c...@gmail.com>
Subject Re: HttpSession -vs- PortletSession
Date Thu, 13 Jan 2005 02:46:51 GMT
To get PortletSession in jsp:
<%
PortletRequest portletRequest = (PortletRequest)
request.getAttribute("javax.portlet.request");

PortletSession portletSession = portletRequest.getPortletSession()
%>

On Wed, 12 Jan 2005 14:33:10 -0800, LaCasse, John <JLaCasse@filenet.com> wrote:
> According to the JSR168 spec everything that gets stored into the
> PortletSession should also be stored in the HttpSession. When I access
> the HttpSession via a regular jsp page it has a different session id
> that the PortletSession and hence is a different session. Has anyone had
> this problem or know how I can get access to the PortletSession session
> from a standard jsp page.
> 
> Thanks for any help,
> Jpl
> 
> 


-- 
Liang Chen
in Shanghai, China

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


Mime
View raw message