Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 6007 invoked from network); 20 Apr 2009 11:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Apr 2009 11:11:07 -0000 Received: (qmail 19853 invoked by uid 500); 20 Apr 2009 11:11:06 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 19782 invoked by uid 500); 20 Apr 2009 11:11:06 -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 Delivered-To: moderator for users@cocoon.apache.org Received: (qmail 139 invoked by uid 99); 20 Apr 2009 09:26:25 -0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 In-Reply-To: References: <23114381.post@talk.nabble.com> <49E9F93E.60508@cc.oulu.fi> <49EC3180.5CE9.00D4.0@csir.co.za> <49EC1F71.2070300@oulu.fi> <49EC2256.4050305@oulu.fi> <49EC2791.6050904@ajlsm.com> From: Jasha Joachimsthal Date: Mon, 20 Apr 2009 11:25:35 +0200 Message-ID: <18cbef3f0904200225s74b67b14ve41448cbc7aeb72b@mail.gmail.com> Subject: Re: How to make cocoon session longer? To: users@cocoon.apache.org Content-Type: multipart/alternative; boundary=0015174c0fa8bbb8100467f91d2d X-Virus-Checked: Checked by ClamAV on apache.org --0015174c0fa8bbb8100467f91d2d Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable You can set that in the cocoon.xconf 180000 180000 Jasha Joachimsthal j.joachimsthal@onehippo.com - jasha@apache.org www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-5100 +1 (707) 773-4646 2009/4/20 Maria Grigorieva > Ok! I'll try ) But the problem is in continuation's time-to-live, I think > > > 2009/4/20 Malo Pichot > > Hello, >> >> May be I'm completely off the suject : did you try to use the >> WEB-INF/web.xml to control session time directly from the servlet ? >> >> This is for 30 min. >> >> 30 >> >> Malo >> >> >> Maria Grigorieva a =A8=A6crit : >> > Ok, thank you for the information. But I'm still using 2.10 version :) >> > >> > 20 =A7=D1=A7=E1=A7=E2=A7=D6=A7=DD=A7=F1 2009 =A7=D4. 11:20 =A7=E1=A7= =E0=A7=DD=A7=EE=A7=D9=A7=E0=A7=D3=A7=D1=A7=E4=A7=D6=A7=DD=A7=EE Andre Juffe= r > > > =A7=DF=A7=D1=A7=E1=A7=DA=A7=E3=A7=D1=A7= =DD: >> > >> > Maria Grigorieva wrote: >> > >> > I didn't use user's sessions yet... >> > >> > >> > If you do so, note that different blocks (assuming you use cocoon >> > 2.2) don't carry the same session. >> > >> > >> > 2009/4/20 Andre Juffer > > > > >> >> > >> > >> > Derek Hohls wrote: >> > >> > And, just for completeness - what is the way to set thi= s >> in >> > the sitemap >> > (e.g. after a user logs in)? >> > >> > >> > Not sure. The applications that I work with rely on flow to >> > handle >> > the login. After a successful login, I use the >> > cocoon.session.setMaxInactiveInterval(...) statement. >> > >> > >> > On 2009/04/18 at 06:01, in message >> > <49E9F93E.60508@cc.oulu.fi >> > >> > > > >>, Andre Juffer >> > > > >> > >> > > > >> wrote: >> > >> > Maria Grigorieva wrote: >> > >> > I'm using flowscript and when I left the page for >> > some time, >> > and then trying to change the field's value, I've g= ot >> > "request failed". >> > Maybe it depends on the default cocoon's session >> time? >> > How can I change this time (to make it for example = 20 >> > minutes)??? >> > >> > >> > >> > You can change this with >> > cocoon.session.setMaxInactiveInterval(10800); // 3 >> hours: 3 >> > * 60 * 60 >> > >> > (argument is in seconds). >> > >> > >> > >> > >> > -- Andre H. Juffer | Phone: +358-8-553 1161 >> > Biocenter Oulu and | Fax: +358-8-553-1141 >> > Department of Biochemistry | Email: andre.juffer@oulu.fi >> > >> > > >> > >> > University of Oulu, Finland | WWW: >> > www.biochem.oulu.fi/Biocomputing/ >> > >> > >> > >> > StruBioCat | WWW: www.strubiocat.oulu.fi >> > >> > >> > >> > NordProt | WWW: www.nordprot.org >> > >> > >> > >> > Triacle Biocomputing | WWW: www.triacle-bc.com >> > >> > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> > >> > > > > >> > >> > For additional commands, e-mail: >> users-help@cocoon.apache.org >> > >> > > > > >> > >> > >> > >> > >> > -- >> > =A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE=A7=D6=A7=D3=A7=D1 = =A7=AE=A7=D1=A7=E2=A7=DA=A7=F1 >> > >> > >> > >> > -- >> > Andre H. Juffer | Phone: +358-8-553 1161 >> > Biocenter Oulu and | Fax: +358-8-553-1141 >> > Department of Biochemistry | Email: andre.juffer@oulu.fi >> > >> > University of Oulu, Finland | WWW: >> > www.biochem.oulu.fi/Biocomputing/ >> > >> > StruBioCat | WWW: www.strubiocat.oulu.fi >> > >> > NordProt | WWW: www.nordprot.org >> > >> > Triacle Biocomputing | WWW: www.triacle-bc.com >> > >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> > >> > For additional commands, e-mail: users-help@cocoon.apache.org >> > >> > >> > >> > >> > >> > -- >> > =A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE=A7=D6=A7=D3=A7=D1 =A7=AE=A7= =D1=A7=E2=A7=DA=A7=F1 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> >> > > > -- > =A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE=A7=D6=A7=D3=A7=D1 =A7=AE=A7=D1= =A7=E2=A7=DA=A7=F1 > --0015174c0fa8bbb8100467f91d2d Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable You can set that in the cocoon.xconf

<continuati= ons-manager continuation-sharing-bug-compatible=3D"false" logger= =3D"flow.manager" session-bound-continuations=3D"true" = time-to-live=3D"10800000"><!-- ttl in miliseconds -->
    <expirations-check type=3D"periodic"&g= t;
      <offset>180000</offset><= /div>
      <period>180000</period>
    </expirations-check>
  = </continuations-manager>

Jasha Joachimsthal

j.joachimsthal@onehippo.com - jasha@apache.org

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
S= an Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-5100 = +1 (707) 773-4646


2009/4/20 Maria Grigorieva <magsend@gmail.com>
Ok! I'll try ) But the problem is in continuation's time-to-live, I= think


2009/4/20 Malo Pichot <ma= lo.pichot@ajlsm.com>

Hello,

May be I'm completely off the suject : did you try to use the
WEB-INF/web.xml to control session time directly from the servlet ?

This is for 30 min.

<sessions><session-timeout>30</session-timeout></sessi= ons>

Malo


Maria Grigorieva a =A8=A6crit :
> Ok, thank you for the information. But I'm still using 2.10 v= ersion :)
>
> 20 =A7=D1=A7=E1=A7=E2=A7=D6=A7=DD=A7=F1 2009 =A7=D4. 11:20 =A7=E1=A7= =E0=A7=DD=A7=EE=A7=D9=A7=E0=A7=D3=A7=D1=A7=E4=A7=D6=A7=DD=A7=EE Andre Juffe= r <andre.juffe= r@oulu.fi
> <mailto:andre.juffer@oulu.fi>> =A7=DF=A7=D1=A7=E1=A7=DA=A7=E3=A7=D1= =A7=DD:
>
>     Maria Grigorieva wrote:
>
>         I didn't use user's sessions yet..= .
>
>
>     If you do so, note that different blocks (assuming you u= se cocoon
>     2.2) don't carry the same session.
>
>
>         2009/4/20 Andre Juffer <andre.juffer@oulu.fi
>         <mailto:andre.juffer@oulu.fi> <mailto:andre.juffer@oulu.f= i
>         <mailto:andre.juffer@oulu.fi>= ;>>
>
>
>            Derek Hohls wrote:
>
>                And, just for c= ompleteness - what is the way to set this in
>                the sitemap
>                (e.g. after a u= ser logs in)?
>
>
>            Not sure. The applications th= at I work with rely on flow to
>         handle
>            the login. After a successful= login, I use the
>            cocoon.session.setMaxInactive= Interval(...) statement.
>
>
>                     =        On 2009/04/18 at 06:01, in message
>                     =        <49E9F93E.60508@cc.oulu.fi
>         <mailto:49E9F93E.60508@cc.oulu.fi>
>                     =        <mailto:49E9F93E.60508@cc.oulu.fi
>         <mailto:49E9F93E.60508@cc.oulu.fi>>>, = Andre Juffer
>                     =        <ajuffer@sun3.oulu.fi
>         <mailto:ajuffer@sun3.oulu.fi>
>
>                     =        <mailto:ajuffer@sun3.oulu.fi
>         <mailto:ajuffer@sun3.oulu.fi>>> wrote:
>
>                Maria Grigoriev= a wrote:
>
>                    I= 'm using flowscript and when I left the page for
>         some time,
>                    a= nd then trying to change the field's value, I've got
>                    &= quot;request failed".
>                    M= aybe it depends on the default cocoon's session time?
>                    H= ow can I change this time (to make it for example 20
>                    m= inutes)???
>
>
>
>                You can change = this with
>                cocoon.session.= setMaxInactiveInterval(10800);   // 3 hours: 3
>                * 60 * 60
>
>                (argument is in= seconds).
>
>
>
>
>            --    Andre H. Juff= er              | Phone: +358-8-553 1161=
>            Biocenter Oulu and   &nb= sp;       | Fax: +358-8-553-1141
>            Department of Biochemistry &n= bsp; | Email: and= re.juffer@oulu.fi
>         <mailto:andre.juffer@oulu.fi>
>            <mailto:andre.juffer@oulu.fi
<mailto:andr= e.juffer@oulu.fi>>
>
>            University of Oulu, Finland &= nbsp;| WWW:
>            www.biochem.oulu.fi/Biocomputing/=
>         <http://www.biochem.oulu.fi/Biocomputing/>
>            <
http://www.biochem.oulu.fi/Bi= ocomputing/>
>
>            StruBioCat     &nbs= p;             | WWW: www.strubiocat.oulu.fi
>         <http://www.strubiocat.oulu.fi>
>            <http://www.strubiocat.oulu.fi> >
>            NordProt      =               | WWW: www.nordprot.org
>         <http://www.nordprot.org>
>            <http://www.nordprot.org>
>
>            Triacle Biocomputing   &= nbsp;     | WWW: www.triacle-bc.com
>         <http://www.triacle-bc.com>
>            <http://www.triacle-bc.com>
>
>
>
>
>          ------------------------------------= ---------------------------------
>            To unsubscribe, e-mail: users-u= nsubscribe@cocoon.apache.org
>         <mailto:users-unsubscribe@cocoon.apache.o= rg>
>            <mailto:users-unsubscribe@co= coon.apache.org
>         <mailto:users-unsubscribe@cocoon.apache.o= rg>>
>
>            For additional commands, e-ma= il: users= -help@cocoon.apache.org
>         <mailto:users-help@cocoon.apache.org>
>            <mailto:users-help@cocoon.apache.or= g
>         <mailto:users-help@cocoon.apache.org>>=
>
>
>
>
>         --
>         =A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE= =A7=D6=A7=D3=A7=D1 =A7=AE=A7=D1=A7=E2=A7=DA=A7=F1
>
>
>
>     --
>     Andre H. Juffer            = ;  | Phone: +358-8-553 1161
>     Biocenter Oulu and           | = Fax: +358-8-553-1141
>     Department of Biochemistry   | Email: andre.juffer@oulu.fi
>     <mailto:andre.juffer@oulu.fi>
>     University of Oulu, Finland  | WWW:
>     www.biochem.oulu.fi/Biocomputing/
>     <http://www.biochem.oulu.fi/Biocomputing/>
>     StruBioCat             &nb= sp;     | WWW: www.strubiocat.oulu.fi
>     <http://www.strubiocat.oulu.fi>
>     NordProt              = ;       | WWW: www.nordprot.org
>     <http://www.nordprot.org>
>     Triacle Biocomputing         | WWW: = www.triacle-bc.com<= /a>
>     <
http://www.triacle-bc.com>
>
>
>     --------------------------------------------------------= -------------
>     To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.or= g
>     <mailto:users-unsubscribe@cocoon.apache.org>
>     For additional commands, e-mail: users-help@cocoon.apache.org=
>     <mailto:users-help@cocoon.apache.org>
>
>
>
>
> --
> =A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE=A7=D6=A7=D3=A7=D1 =A7=AE=A7= =D1=A7=E2=A7=DA=A7=F1


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




--
=A7=A4=A7=E2=A7=DA=A7=D4=A7=E0=A7=E2=A7=EE=A7=D6= =A7=D3=A7=D1 =A7=AE=A7=D1=A7=E2=A7=DA=A7=F1

--0015174c0fa8bbb8100467f91d2d--