portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LaCasse, John" <JLaCa...@filenet.com>
Subject RE: HttpSession -vs- PortletSession
Date Thu, 13 Jan 2005 18:13:48 GMT
Thanks for the response. This works if I'm including the jsp via the
PortletRequestDispatcher but in my case I'm redirecting to the jsp in
which case these attributes aren't there. In Weblogic and WebSphere if
you put an attribute in the PortletSession it is also accessible via the
standard HttpServletSession which the jsr168 spec dictates it should be.
I believe I read some documentation that indicated that the
PortletSession actually uses the HttpServletSession but for some reason
I'm seeing a different session id when I redirect to a jsp.

Jpl

-----Original Message-----
From: Liang Chen [mailto:landis.chen@gmail.com] 
Sent: Wednesday, January 12, 2005 6:47 PM
To: Jetspeed Developers List
Subject: Re: HttpSession -vs- PortletSession

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




---------------------------------------------------------------------
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