cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Public API for keeping a continuation alive?
Date Tue, 18 Oct 2005 14:15:03 GMT
Reinhard Poetz wrote:
> Kris Schneider wrote:
>> Here's the usage scenario: We want a client-side timer to display a
>> warning when a user's session is about to expire. This is especially
>> important for forms that have unsaved data. Obviously, it's easy
>> enough to send an arbitrary request to the app to keep the HTTP
>> session alive, but how can the same effect be accomplished for a
>> continuation? Assuming we have the continuation's id, is there any
>> form of a public API available to "ping" the continuation so that it
>> doesn't expire? 
>
> No

I would be interesting IMO to have a "PingContinuationAction" that can 
be called using an Ajax request for long-running forms. I'll add this to 
the Ajax block.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


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


Mime
View raw message