cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <>
Subject Re: SQLTransformer, reaction on socket close?
Date Tue, 19 Oct 2004 18:51:06 GMT
Hi Sylvain,

One output format will be a raw xml document (generated by the 
SQLTransformer). It will be parsed by an java client. On the other hand 
the output will be transformed to a HTML or Excel document by an XSLT 
Transformer. As you has written in your post before, I think the second 
one is not possible to detect a "browser cancel"? Is there a workaraound 

What happens on the first one (directly xml output) if the user stops 
the transfer by closing the browser?

Thank you, Sylvain.


Sylvain Wallez wrote:

> Stephan Coboos wrote:
>> I had forgotten to say: "The database connection should be closed if 
>> the user closes the browser _during reading_." So a hughe set of data 
>> which are not needed should not read again out of the database to 
>> save resources.
> We can know if the user closed her browser only by receiving an 
> excption when trying to send data. That means that output of the 
> SQLTransformer must be streamed down to the browser with no 
> intermediate buffering, which unfortunately is what happens with an 
> XSL transformation.
> What are the components after the SQLTransformer?
> Sylvain

View raw message