[EMAIL PROTECTED] wrote:

hi people

i have a .xsp that read from a database and create a .xml file that describe a tree, then the data from this xml are transformed to a javascript tree

the problem is that i need the xml data from the database in each request to create the tree (navigation tree) but some times those data produce a .xml with 7000 - 10000 nodes. so i have to wait some minutes to ge a responce.

my question is:

where can i store temporary the produced XML (i can not use file system) so not to have to call .xsp in each request? is it possible to store the tree in SESSION ?


WriteDOMSessionTransformer should be your friend:
http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html

Regards
Stephan


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



Reply via email to