cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <kschnei...@gmail.com>
Subject Re: Public API for keeping a continuation alive?
Date Tue, 18 Oct 2005 14:34:43 GMT
On 10/18/05, Sylvain Wallez <sylvain@apache.org> wrote:
> 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.

+1. But there's going to need to be some additonal support in the core
flow impl to allow an action to actually update the continuation's
last acces time, right?

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

--
Kris Schneider <mailto:kschneider@gmail.com>

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


Mime
View raw message