Re: Cant find session variable

Marcus A Christie <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Hernandez, Carlos A. wrote:
> Hello Guys,
> 
>  
> 
> I’m using Pluto 1.1 since I’m developing some portlets. But I’m having 
> problems using the session for the application scope.
> 
>  
> 
> I got this portlet that stores an object into session. That object must 
> be seen by another portlet. This is what I do
> 
>  
> 
> getPortletSession ().setAttribute ( CRED_SESSION, object, 
> PortletSession.APPLICATION_SCOPE );
> 
>  
> 
> An then in a second portlet (a completely different one, but the same 
> portal server) I try this:
> 
>  
> 
> getPortletSession ().getAttribute (CRED_SESSION, 
> PortletSession.APPLICATION_SCOPE )
> 
>  
> 
> I got a *null* and when I print the list returned by
> 

both portlets are in the same web application (webapp)?

Marc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.