Hi,

I think sscontext.getAttribute() could work.

Maybe you want to have a look at the API-docs:


http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/conte
xt/SimpleSessionContext.html


Kind Regards

Ole

> -----Ursprüngliche Nachricht-----
> Von: Bruce Perryman [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 27. Mai 2004 19:05
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Retrieving session data from an action
> 
> 
> Thanks for responding.
> 
> getSession() returns a session whose getAttribute
> method returns an object of type SimpleSessionContext.
> 
> How would I access this object?
> 
> --- "Hildebrandt, Ole" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > Have you tried this within an acion?
> > 
> > Request request = ObjectModelHelper.getRequest(map);
> > Session sess = request.getSession()
> > 
> > Regards
> > 
> > Ole         
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Bruce Perryman
> > [mailto:[EMAIL PROTECTED]
> > > Gesendet: Donnerstag, 27. Mai 2004 00:03
> > > An: cocoon
> > > Betreff: Retrieving session data from an action
> > > 
> > > 
> > > Hello,
> > > 
> > > I have stored session data inside of a context
> > using <session:setxml>.
> > > 
> > > How can I access the data either from within a
> > > sitemap, or within an action which I've written?
> > > 
> > > Which component or class can I use to retrieve
> > from
> > > within either the sitemap or the action that I
> > wrote?
> > > 
> > > Thanks
> > > 
> > > 
> > >   
> > >           
> > > __________________________________
> > > Do you Yahoo!?
> > > Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > http://messenger.yahoo.com/
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger. 
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to