You are very kind, thankyou.

I was on the right track just missing some vital (undocumented) information.

Regards,

Paul.

On Wed, 3 Sep 2003 13:34:25 +0200, Carsten Ziegeler wrote
> Ok, if you have a component manager in the variable "manager", do this:
> 
> (it's free typed into the mail without syntax checking)
> 
> import org.apache.avalon.framework.component.Component;
> import org.apache.cocoon.webapps.session.ContextManager;
> 
> ContextManager cm =
> (ContextManager)this.manager.lookup(ContextManager.ROLE);
> try {
>   SessionContext sc = cm.getContext(CONTEXT_NAME);
> 
>   // use the context here
> 
> } finally {
>   manager.release((Component)cm);
> }
> 
> This is really all I can provide you, you have to figure out the rest.
> 
> Carsten
> 
> Paul Bowler wrote:
> >
> > I've had a look but a simple code snippet would be very useful as
> > it is not clear from the source what
> > SessionPreTransformer is for or how it deals with session data.
> >
> > I hope you have time to help.
> >
> > Regards,
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



--
Paul Bowler
Aventix Associates Ltd

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

Reply via email to