Thanks, the pointer to WriteDOMSessionTransformer was very useful...
----- Original Message ----- From: "Ralph Goers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 7:34 PM Subject: Re: Access the HttpSession within transform method of a custom transformer > Why would you think it is not possible? If you look at > WriteDOMSessionTransformer you'll see it accessing the Cocoon session. The > Cocoon session as implemented today just calls the http session for > everything it does. As an alternative, to be sure you can just get the > HttpServletRequest from the ObjectModel and then get the HttpSession. > > > Javier Ramos said: > > Hallo, > > > > I am trying to build a custom transformer that will need access to > > session data. > > I would like to know if this is at all possible. > > I thought of using the ReadDOMSession and WriteDOMSession > > transformers, but I want to store in the session objects which I > > cannot serialize to XML, so I think they are not an option. > > Does anyone think it would be possible to gain access to the active > > HttpSession inside the transform method of AbstractDOMTransformer, for > > example? > > > > Thanks, > > > > Javier > > > --------------------------------------------------------------------- > 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]
