[Helma-user] send response before request is finished?

Franz Philipp Moser philipp.moser at chello.at
Thu Aug 31 10:59:21 CEST 2006


Stefan Rinner wrote:
> Hi

Hi,

> is there any way to send a response from an action to a client before  
> the action is finished - so you could start something which is kind  
> of long-running and send an immediate response to the client to tell  
> him that the desired action got started successfully but will take  
> some time

Maybe you should push your "action" into a sheduler job and write an 
other action to check the Status of your opperation.

*) user requests action
*) action tells sheduler to do the desired things
*) action tells user action has been sheduled
*) user can check if sheduler has finished "action"

Seems to me the cleaner way

> - stefan
<snip />

cu Philipp
-- 
XML is the ASCII for the new millenium
(Cocoon Documentation)


More information about the Helma-user mailing list