Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 77135 invoked from network); 18 Oct 2005 14:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2005 14:35:11 -0000 Received: (qmail 60472 invoked by uid 500); 18 Oct 2005 14:35:05 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 60424 invoked by uid 500); 18 Oct 2005 14:35:05 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 60405 invoked by uid 99); 18 Oct 2005 14:35:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2005 07:35:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of kschneider@gmail.com designates 66.249.82.198 as permitted sender) Received: from [66.249.82.198] (HELO xproxy.gmail.com) (66.249.82.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2005 07:35:05 -0700 Received: by xproxy.gmail.com with SMTP id i26so644638wxd for ; Tue, 18 Oct 2005 07:34:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lMVDwd0pxpkvqTnZO+u43hMZrhWs8jO+e/ng6f62PaTd55Xcdx+P2xy4DQpdFJQlA9gOZ7D5WjVFtZaYNCJC2I3K6JmStkWkWCotHRo/wJfzCPJWEvNmaxgzaQpq2EIY+Fv3urmcxO+TDD6+XOx+Zv3w3xohxorQ15VSuHjHOmo= Received: by 10.70.50.4 with SMTP id x4mr2810942wxx; Tue, 18 Oct 2005 07:34:43 -0700 (PDT) Received: by 10.70.43.6 with HTTP; Tue, 18 Oct 2005 07:34:43 -0700 (PDT) Message-ID: <3d242a3d0510180734t1a393e82h1193398b735d6b88@mail.gmail.com> Date: Tue, 18 Oct 2005 10:34:43 -0400 From: Kris Schneider To: users@cocoon.apache.org Subject: Re: Public API for keeping a continuation alive? In-Reply-To: <43550367.5050300@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3d242a3d0510180636v6346888ev66a949c0d19c0cbc@mail.gmail.com> <4355004C.3010803@apache.org> <43550367.5050300@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/18/05, Sylvain Wallez 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org