cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: Send Page, continue processing
Date Mon, 01 Mar 2004 18:14:45 GMT
Jan Hoskens wrote:
> If I use sendPage() instead of sendPageAndWait() the pipelineprocessing is
> given back to cocoon (in the docs), so if I place some code after that, will
> cocoon first end that function (and thus giving a response) and goes on with
> the remaining code? I know that this isn't the idea behind that function, I
> do use it for its normal behaviour, but it's just a thought!

If I understand your question correctly, yes, code following 
cocoon.sendPage will be execute immediately, _while_ the response in 
being sent to the client.

You can check it out yourself by putting a "print" statement right after 
sendPage.

	Ugo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message