Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 73567 invoked from network); 13 Feb 2006 10:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 10:31:58 -0000 Received: (qmail 20392 invoked by uid 500); 13 Feb 2006 10:31:52 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 20286 invoked by uid 500); 13 Feb 2006 10:31:51 -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 20275 invoked by uid 99); 13 Feb 2006 10:31:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 02:31:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jh@schaubroeck.be designates 193.75.212.6 as permitted sender) Received: from [193.75.212.6] (HELO mail2.schaubroeck.be) (193.75.212.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 02:31:50 -0800 Received: (from root@localhost) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) id k1DAVReh029698 for users@cocoon.apache.org; Mon, 13 Feb 2006 11:31:27 +0100 Received: from [193.74.194.207] ([193.74.194.207]) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) with ESMTP id k1DAVQ9J029689 for ; Mon, 13 Feb 2006 11:31:26 +0100 Message-ID: <43F05FF6.6090509@schaubroeck.be> Date: Mon, 13 Feb 2006 11:31:18 +0100 From: Jan Hoskens User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: continuations References: <43F05185.1060609@schaubroeck.be> <1553.10.10.31.43.1139825717.squirrel@10.10.31.43> In-Reply-To: <1553.10.10.31.43.1139825717.squirrel@10.10.31.43> Content-Type: multipart/alternative; boundary="------------050101090909090003080404" X-Spam-Score: -99.84 () X-Spam-Report: mail2: 0.2 HTML_MESSAGE BODY: HTML included in message, -100 USER_IN_WHITELIST From: address is in the user's white-list X-Virus-Scan: by Schaubroeck X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------050101090909090003080404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Fabrizio Sitzia wrote: > Hello, > > >> I have a flow in which I create a form. When this form is displayed, I >> like to keep the continuation to stay alive for as long as the user is >> filling in that form (which can take more than one hour, depends on how >> many times the user is refilling his cup of tea or coffee, and how many >> colleagues are passing by to have a nice chat with... >> > > Yep, and people tend to get very upset if they spent 5 minutes beginning > to fill out a form just before they left for a 2 hour lunch, and find > their session has expired when they come back! > > For a less security-critical intranet app, I therefore defined a timeout > of 4 hours, as follows: > > - In "cocoon.xconf", I set the continuations-manager's time-to-live" > attribute to 14400000 (4 hours * 3600 seconds * 1000 milliseconds :-) > I also set the "session-bound-continuations" attribute to "true", as > there is no point leaving continuations around when the servlet > container's session has expired... > That's correct, I'll definitely check that session-bound-continuations attribute, thanks for the info. > - I also set the servlet container's (Jetty) session-timeout to 4 hours > (240 minutes), by adding the following to its "web.xml" file: > > ... > > 240 > > > I don't want my sessions/continuations to have long time-out periods for security reasons. It's ok to have them log in again if their session is timed out after eg a half hour. But then again, when they are editing a form, this might take some time, and the responsibility of keeping this form window open/uncommitted is completely on their side. So if they are off to McDonalds during editing, it's their own decision to leave that window open. Kind Regards, Jan > > Fabrizio > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------050101090909090003080404 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Fabrizio Sitzia wrote:
Hello,

  
I have a flow in which I create a form. When this form is displayed, I
like to keep the continuation to stay alive for as long as the user is
filling in that form (which can take more than one hour, depends on how
many times the user is refilling his cup of tea or coffee, and how many
colleagues are passing by to have a nice chat with...
    

Yep, and people tend to get very upset if they spent 5 minutes beginning
to fill out a form just before they left for a 2 hour lunch, and find
their session has expired when they come back!

For a less security-critical intranet app, I therefore defined a timeout
of 4 hours, as follows:

- In "cocoon.xconf", I set the continuations-manager's time-to-live"
  attribute to 14400000 (4 hours * 3600 seconds * 1000 milliseconds :-)
  I also set the "session-bound-continuations" attribute to "true", as
  there is no point leaving continuations around when the servlet
  container's session has expired...
  
That's correct, I'll definitely check that session-bound-continuations attribute, thanks for the info.
- I also set the servlet container's (Jetty) session-timeout to 4 hours
  (240 minutes), by adding the following to its "web.xml" file:

    ...
    <session-config>
      <session-timeout>240</session-timeout>
    </session-config>
  </web-app>
  
I don't want my sessions/continuations to have long time-out periods for security reasons. It's ok to have them log in again if their session is timed out after eg a half hour. But then again, when they are editing a form, this might take some time, and the responsibility of keeping this form window open/uncommitted is completely on their side. So if they are off to McDonalds during editing, it's their own decision to leave that window open.

Kind Regards,
Jan


Fabrizio


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

  
--------------050101090909090003080404--