You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Maria Grigorieva <ma...@hotmail.com> on 2009/04/18 17:57:08 UTC
How to make cocoon session longer?
I'm using flowscript and when I left the page for some time,
and then trying to change the field's value, I've got "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)???
--
View this message in context: http://www.nabble.com/How-to-make-cocoon-session-longer--tp23114381p23114381.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to make cocoon session longer?
Posted by Jasha Joachimsthal <j....@onehippo.com>.
You can set that in the cocoon.xconf
<continuations-manager continuation-sharing-bug-compatible="false"
logger="flow.manager" session-bound-continuations="true"
time-to-live="10800000"><!-- ttl in miliseconds -->
<expirations-check type="periodic">
<offset>180000</offset>
<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
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-5100
+1 (707) 773-4646
2009/4/20 Maria Grigorieva <ma...@gmail.com>
> Ok! I'll try ) But the problem is in continuation's time-to-live, I think
>
>
> 2009/4/20 Malo Pichot <ma...@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></sessions>
>>
>> Malo
>>
>>
>> Maria Grigorieva a écrit :
>> > Ok, thank you for the information. But I'm still using 2.10 version :)
>> >
>> > 20 апреля 2009 г. 11:20 пользователь Andre Juffer <andre.juffer@oulu.fi
>> > <ma...@oulu.fi>> написал:
>> >
>> > 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 <andre.juffer@oulu.fi
>> > <ma...@oulu.fi> <mailto:andre.juffer@oulu.fi
>> > <ma...@oulu.fi>>>
>> >
>> >
>> > Derek Hohls wrote:
>> >
>> > And, just for completeness - what is the way to set this
>> 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
>> > <ma...@cc.oulu.fi>
>> > <mailto:49E9F93E.60508@cc.oulu.fi
>> > <ma...@cc.oulu.fi>>>, Andre Juffer
>> > <ajuffer@sun3.oulu.fi
>> > <ma...@sun3.oulu.fi>
>> >
>> > <mailto:ajuffer@sun3.oulu.fi
>> > <ma...@sun3.oulu.fi>>> 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 got
>> > "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
>> > <ma...@oulu.fi>
>> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
>> >
>> > University of Oulu, Finland | WWW:
>> > www.biochem.oulu.fi/Biocomputing/
>> > <http://www.biochem.oulu.fi/Biocomputing/>
>> > <http://www.biochem.oulu.fi/Biocomputing/>
>> >
>> > StruBioCat | 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 | WWW: www.triacle-bc.com
>> > <http://www.triacle-bc.com>
>> > <http://www.triacle-bc.com>
>> >
>> >
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> > <ma...@cocoon.apache.org>
>> > <mailto:users-unsubscribe@cocoon.apache.org
>> > <ma...@cocoon.apache.org>>
>> >
>> > For additional commands, e-mail:
>> users-help@cocoon.apache.org
>> > <ma...@cocoon.apache.org>
>> > <mailto:users-help@cocoon.apache.org
>> > <ma...@cocoon.apache.org>>
>> >
>> >
>> >
>> >
>> > --
>> > Григорьева Мария
>> >
>> >
>> >
>> > --
>> > Andre H. Juffer | Phone: +358-8-553 1161
>> > Biocenter Oulu and | Fax: +358-8-553-1141
>> > Department of Biochemistry | Email: andre.juffer@oulu.fi
>> > <ma...@oulu.fi>
>> > University of Oulu, Finland | WWW:
>> > www.biochem.oulu.fi/Biocomputing/
>> > <http://www.biochem.oulu.fi/Biocomputing/>
>> > StruBioCat | 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
>> > <http://www.triacle-bc.com>
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> > <ma...@cocoon.apache.org>
>> > For additional commands, e-mail: users-help@cocoon.apache.org
>> > <ma...@cocoon.apache.org>
>> >
>> >
>> >
>> >
>> > --
>> > Григорьева Мария
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
>
> --
> Григорьева Мария
>
Re: How to make cocoon session longer?
Posted by Maria Grigorieva <ma...@gmail.com>.
Yeah, I found continuation-component and change time-to-live parameter )))
Thabk you!!!
2009/4/20 Jeroen Reijn <j....@onehippo.com>
> Did you take a look at the cocoon.xconf?
> It contains some settings for both session bound and non session bound
> continuations. [1]
>
> Search for the continuations-manager component. It should be quite clear
> when you look at the documenation above.
>
> Regards,
>
> Jeroen Reijn
>
> [1]
> http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.1/RELEASE_2_1_10/src/webapp/WEB-INF/cocoon.xconf
>
> Maria Grigorieva wrote:
> > Ok! I'll try ) But the problem is in continuation's time-to-live, I think
> >
> >
> > 2009/4/20 Malo Pichot <malo.pichot@ajlsm.com <mailto:
> malo.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></sessions>
> >
> > Malo
> >
> >
> > Maria Grigorieva a écrit :
> > > Ok, thank you for the information. But I'm still using 2.10
> > version :)
> > >
> > > 20 апреля 2009 г. 11:20 пользователь Andre Juffer
> > <andre.juffer@oulu.fi <ma...@oulu.fi>
> > > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>>
> написал:
> > >
> > > 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 <andre.juffer@oulu.fi
> > <ma...@oulu.fi>
> > > <mailto:andre.juffer@oulu.fi
> > <ma...@oulu.fi>> <mailto:andre.juffer@oulu.fi
> > <ma...@oulu.fi>
> > > <mailto:andre.juffer@oulu.fi <mailto:andre.juffer@oulu.fi
> >>>>
> > >
> > >
> > > Derek Hohls wrote:
> > >
> > > And, just for completeness - what is the way to
> > set this 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
> > <ma...@cc.oulu.fi>
> > > <mailto:49E9F93E.60508@cc.oulu.fi
> > <ma...@cc.oulu.fi>>
> > > <mailto:49E9F93E.60508@cc.oulu.fi
> > <ma...@cc.oulu.fi>
> > > <mailto:49E9F93E.60508@cc.oulu.fi
> > <ma...@cc.oulu.fi>>>>, Andre Juffer
> > > <ajuffer@sun3.oulu.fi
> > <ma...@sun3.oulu.fi>
> > > <mailto:ajuffer@sun3.oulu.fi <mailto:ajuffer@sun3.oulu.fi
> >>
> > >
> > > <mailto:ajuffer@sun3.oulu.fi
> > <ma...@sun3.oulu.fi>
> > > <mailto:ajuffer@sun3.oulu.fi
> > <ma...@sun3.oulu.fi>>>> 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 got
> > > "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 <ma...@oulu.fi>
> > > <mailto:andre.juffer@oulu.fi <mailto:andre.juffer@oulu.fi
> >>
> > > <mailto:andre.juffer@oulu.fi
> > <ma...@oulu.fi> <mailto:andre.juffer@oulu.fi
> > <ma...@oulu.fi>>>
> > >
> > > University of Oulu, Finland | WWW:
> > > www.biochem.oulu.fi/Biocomputing/
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > > <http://www.biochem.oulu.fi/Biocomputing/>
> > > <http://www.biochem.oulu.fi/Biocomputing/>
> > >
> > > StruBioCat | WWW:
> > www.strubiocat.oulu.fi <http://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>
> > > <http://www.nordprot.org>
> > >
> > > Triacle Biocomputing | WWW: www.triacle-bc.com
> > <http://www.triacle-bc.com>
> > > <http://www.triacle-bc.com>
> > > <http://www.triacle-bc.com>
> > >
> > >
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > > <mailto:users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> > > <mailto:users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > > <mailto:users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>>>
> > >
> > > For additional commands, e-mail:
> > users-help@cocoon.apache.org <ma...@cocoon.apache.org>
> > > <mailto:users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> > > <mailto:users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > > <mailto:users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>>>
> > >
> > >
> > >
> > >
> > > --
> > > Григорьева Мария
> > >
> > >
> > >
> > > --
> > > Andre H. Juffer | Phone: +358-8-553 1161
> > > Biocenter Oulu and | Fax: +358-8-553-1141
> > > Department of Biochemistry | Email: andre.juffer@oulu.fi
> > <ma...@oulu.fi>
> > > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
> > > University of Oulu, Finland | WWW:
> > > www.biochem.oulu.fi/Biocomputing/
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > > <http://www.biochem.oulu.fi/Biocomputing/>
> > > StruBioCat | 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 | WWW: www.triacle-bc.com
> > <http://www.triacle-bc.com>
> > > <http://www.triacle-bc.com>
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > > <mailto:users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > > <mailto:users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> > >
> > >
> > >
> > >
> > > --
> > > Григорьева Мария
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> >
> >
> >
> >
> > --
> > Григорьева Мария
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Григорьева Мария
Re: How to make cocoon session longer?
Posted by Jeroen Reijn <j....@onehippo.com>.
Did you take a look at the cocoon.xconf?
It contains some settings for both session bound and non session bound
continuations. [1]
Search for the continuations-manager component. It should be quite clear
when you look at the documenation above.
Regards,
Jeroen Reijn
[1]http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.1/RELEASE_2_1_10/src/webapp/WEB-INF/cocoon.xconf
Maria Grigorieva wrote:
> Ok! I'll try ) But the problem is in continuation's time-to-live, I think
>
>
> 2009/4/20 Malo Pichot <malo.pichot@ajlsm.com <ma...@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></sessions>
>
> Malo
>
>
> Maria Grigorieva a écrit :
> > Ok, thank you for the information. But I'm still using 2.10
> version :)
> >
> > 20 апреля 2009 г. 11:20 пользователь Andre Juffer
> <andre.juffer@oulu.fi <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>> написал:
> >
> > 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 <andre.juffer@oulu.fi
> <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi
> <ma...@oulu.fi>> <mailto:andre.juffer@oulu.fi
> <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>>>
> >
> >
> > Derek Hohls wrote:
> >
> > And, just for completeness - what is the way to
> set this 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
> <ma...@cc.oulu.fi>
> > <mailto:49E9F93E.60508@cc.oulu.fi
> <ma...@cc.oulu.fi>>
> > <mailto:49E9F93E.60508@cc.oulu.fi
> <ma...@cc.oulu.fi>
> > <mailto:49E9F93E.60508@cc.oulu.fi
> <ma...@cc.oulu.fi>>>>, Andre Juffer
> > <ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>
> > <mailto:ajuffer@sun3.oulu.fi <ma...@sun3.oulu.fi>>
> >
> > <mailto:ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>
> > <mailto:ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>>>> 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 got
> > "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 <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
> > <mailto:andre.juffer@oulu.fi
> <ma...@oulu.fi> <mailto:andre.juffer@oulu.fi
> <ma...@oulu.fi>>>
> >
> > University of Oulu, Finland | WWW:
> > www.biochem.oulu.fi/Biocomputing/
> <http://www.biochem.oulu.fi/Biocomputing/>
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > <http://www.biochem.oulu.fi/Biocomputing/>
> >
> > StruBioCat | WWW:
> www.strubiocat.oulu.fi <http://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>
> > <http://www.nordprot.org>
> >
> > Triacle Biocomputing | WWW: www.triacle-bc.com
> <http://www.triacle-bc.com>
> > <http://www.triacle-bc.com>
> > <http://www.triacle-bc.com>
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> > <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>>>
> >
> > For additional commands, e-mail:
> users-help@cocoon.apache.org <ma...@cocoon.apache.org>
> > <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> > <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>>>
> >
> >
> >
> >
> > --
> > Григорьева Мария
> >
> >
> >
> > --
> > Andre H. Juffer | Phone: +358-8-553 1161
> > Biocenter Oulu and | Fax: +358-8-553-1141
> > Department of Biochemistry | Email: andre.juffer@oulu.fi
> <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
> > University of Oulu, Finland | WWW:
> > www.biochem.oulu.fi/Biocomputing/
> <http://www.biochem.oulu.fi/Biocomputing/>
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > StruBioCat | 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 | WWW: www.triacle-bc.com
> <http://www.triacle-bc.com>
> > <http://www.triacle-bc.com>
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> > For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> >
> >
> >
> >
> > --
> > Григорьева Мария
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
>
>
> --
> Григорьева Мария
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to make cocoon session longer?
Posted by Maria Grigorieva <ma...@gmail.com>.
Ok! I'll try ) But the problem is in continuation's time-to-live, I think
2009/4/20 Malo Pichot <ma...@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></sessions>
>
> Malo
>
>
> Maria Grigorieva a écrit :
> > Ok, thank you for the information. But I'm still using 2.10 version :)
> >
> > 20 апреля 2009 г. 11:20 пользователь Andre Juffer <andre.juffer@oulu.fi
> > <ma...@oulu.fi>> написал:
> >
> > 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 <andre.juffer@oulu.fi
> > <ma...@oulu.fi> <mailto:andre.juffer@oulu.fi
> > <ma...@oulu.fi>>>
> >
> >
> > Derek Hohls wrote:
> >
> > And, just for completeness - what is the way to set this
> 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
> > <ma...@cc.oulu.fi>
> > <mailto:49E9F93E.60508@cc.oulu.fi
> > <ma...@cc.oulu.fi>>>, Andre Juffer
> > <ajuffer@sun3.oulu.fi
> > <ma...@sun3.oulu.fi>
> >
> > <mailto:ajuffer@sun3.oulu.fi
> > <ma...@sun3.oulu.fi>>> 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 got
> > "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
> > <ma...@oulu.fi>
> > <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
> >
> > University of Oulu, Finland | WWW:
> > www.biochem.oulu.fi/Biocomputing/
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > <http://www.biochem.oulu.fi/Biocomputing/>
> >
> > StruBioCat | 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 | WWW: www.triacle-bc.com
> > <http://www.triacle-bc.com>
> > <http://www.triacle-bc.com>
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > <mailto:users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> >
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > <mailto:users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>>
> >
> >
> >
> >
> > --
> > Григорьева Мария
> >
> >
> >
> > --
> > Andre H. Juffer | Phone: +358-8-553 1161
> > Biocenter Oulu and | Fax: +358-8-553-1141
> > Department of Biochemistry | Email: andre.juffer@oulu.fi
> > <ma...@oulu.fi>
> > University of Oulu, Finland | WWW:
> > www.biochem.oulu.fi/Biocomputing/
> > <http://www.biochem.oulu.fi/Biocomputing/>
> > StruBioCat | 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
> > <http://www.triacle-bc.com>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> >
> >
> >
> >
> > --
> > Григорьева Мария
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Григорьева Мария
Re: How to make cocoon session longer?
Posted by Malo Pichot <ma...@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></sessions>
Malo
Maria Grigorieva a écrit :
> Ok, thank you for the information. But I'm still using 2.10 version :)
>
> 20 апреля 2009 г. 11:20 пользователь Andre Juffer <andre.juffer@oulu.fi
> <ma...@oulu.fi>> написал:
>
> 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 <andre.juffer@oulu.fi
> <ma...@oulu.fi> <mailto:andre.juffer@oulu.fi
> <ma...@oulu.fi>>>
>
>
> Derek Hohls wrote:
>
> And, just for completeness - what is the way to set this 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
> <ma...@cc.oulu.fi>
> <mailto:49E9F93E.60508@cc.oulu.fi
> <ma...@cc.oulu.fi>>>, Andre Juffer
> <ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>
>
> <mailto:ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>>> 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 got
> "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
> <ma...@oulu.fi>
> <mailto:andre.juffer@oulu.fi <ma...@oulu.fi>>
>
> University of Oulu, Finland | WWW:
> www.biochem.oulu.fi/Biocomputing/
> <http://www.biochem.oulu.fi/Biocomputing/>
> <http://www.biochem.oulu.fi/Biocomputing/>
>
> StruBioCat | 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 | WWW: www.triacle-bc.com
> <http://www.triacle-bc.com>
> <http://www.triacle-bc.com>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>>
>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
> <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>>
>
>
>
>
> --
> Григорьева Мария
>
>
>
> --
> Andre H. Juffer | Phone: +358-8-553 1161
> Biocenter Oulu and | Fax: +358-8-553-1141
> Department of Biochemistry | Email: andre.juffer@oulu.fi
> <ma...@oulu.fi>
> University of Oulu, Finland | WWW:
> www.biochem.oulu.fi/Biocomputing/
> <http://www.biochem.oulu.fi/Biocomputing/>
> StruBioCat | 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
> <http://www.triacle-bc.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
>
>
> --
> Григорьева Мария
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to make cocoon session longer?
Posted by Maria Grigorieva <ma...@gmail.com>.
Ok, thank you for the information. But I'm still using 2.10 version :)
20 апреля 2009 г. 11:20 пользователь Andre Juffer <an...@oulu.fi>написал:
> 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 <andre.juffer@oulu.fi <mailto:andre.juffer@oulu.fi
>> >>
>>
>> Derek Hohls wrote:
>>
>> And, just for completeness - what is the way to set this 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
>> <ma...@cc.oulu.fi>>, Andre Juffer
>> <ajuffer@sun3.oulu.fi
>> <ma...@sun3.oulu.fi>> 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 got
>> "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
>> <ma...@oulu.fi>
>> University of Oulu, Finland | WWW:
>> www.biochem.oulu.fi/Biocomputing/
>> <http://www.biochem.oulu.fi/Biocomputing/>
>> StruBioCat | 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
>> <http://www.triacle-bc.com>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> <ma...@cocoon.apache.org>
>> For additional commands, e-mail: users-help@cocoon.apache.org
>> <ma...@cocoon.apache.org>
>>
>>
>>
>>
>> --
>> Григорьева Мария
>>
>
>
> --
> 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
>
>
--
Григорьева Мария
Re: How to make cocoon session longer?
Posted by Andre Juffer <an...@oulu.fi>.
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 <andre.juffer@oulu.fi
> <ma...@oulu.fi>>
>
> Derek Hohls wrote:
>
> And, just for completeness - what is the way to set this 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
> <ma...@cc.oulu.fi>>, Andre Juffer
> <ajuffer@sun3.oulu.fi
> <ma...@sun3.oulu.fi>> 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 got
> "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
> <ma...@oulu.fi>
> University of Oulu, Finland | WWW:
> www.biochem.oulu.fi/Biocomputing/
> <http://www.biochem.oulu.fi/Biocomputing/>
> StruBioCat | 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
> <http://www.triacle-bc.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
>
>
> --
> Григорьева Мария
--
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
Re: How to make cocoon session longer?
Posted by Maria Grigorieva <ma...@gmail.com>.
I didn't use user's sessions yet...
2009/4/20 Andre Juffer <an...@oulu.fi>
> Derek Hohls wrote:
>
>> And, just for completeness - what is the way to set this 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 <49...@cc.oulu.fi>, Andre
>>>>> Juffer <aj...@sun3.oulu.fi> 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 got "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
>
>
--
Григорьева Мария
Re: How to make cocoon session longer?
Posted by Andre Juffer <an...@oulu.fi>.
Derek Hohls wrote:
> And, just for completeness - what is the way to set this 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 <49...@cc.oulu.fi>, Andre Juffer <aj...@sun3.oulu.fi> 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 got "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
Re: Newbie-question: parameters/variables
Posted by Søren Krum <so...@uninett.no>.
Yea, that looks like what i was searching for, thx :-)
--
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47 73557859
There are 10 different kind of people in the world, those who understand binary and those who don't
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Newbie-question: parameters/variables
Posted by Jasha Joachimsthal <j....@onehippo.com>.
You probably mean
http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html (link is
missing)
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 Alessandro Vincelli <a....@gmail.com>
> Soren you can check this page for an overview of the Sitemap Input module.
> And it's more interesting take a look to the sitemap that generates
> this page, check the SAMPLE codes.
> Alessandro
>
> 2009/4/20 Søren Krum <so...@uninett.no>:
> > Hi!
> >
> > i am trying out some things with cocoon sitemaps, and i wonder: Is there
> > anywhere a place on the web where i can get an overview about the
> different
> > parameters/variables i can use in the sitemap as e.g.
> > request-parameter:<param-name>
> >
> > Regards
> >
> > Søren Krum
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
>
> --
> Alessandro Vincelli
> ---
> http://www.alessandro.vincelli.name
> http://devel.alessandro.vincelli.name
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
Re: Newbie-question: parameters/variables
Posted by Alessandro Vincelli <a....@gmail.com>.
Soren you can check this page for an overview of the Sitemap Input module.
And it's more interesting take a look to the sitemap that generates
this page, check the SAMPLE codes.
Alessandro
2009/4/20 Søren Krum <so...@uninett.no>:
> Hi!
>
> i am trying out some things with cocoon sitemaps, and i wonder: Is there
> anywhere a place on the web where i can get an overview about the different
> parameters/variables i can use in the sitemap as e.g.
> request-parameter:<param-name>
>
> Regards
>
> Søren Krum
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Alessandro Vincelli
---
http://www.alessandro.vincelli.name
http://devel.alessandro.vincelli.name
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Newbie-question: parameters/variables
Posted by Søren Krum <so...@uninett.no>.
Hi!
i am trying out some things with cocoon sitemaps, and i wonder: Is there
anywhere a place on the web where i can get an overview about the
different parameters/variables i can use in the sitemap as e.g.
request-parameter:<param-name>
Regards
Søren Krum
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to make cocoon session longer?
Posted by Maria Grigorieva <ma...@gmail.com>.
The problem was in continuation's time-to-live!!! It's not session )))
2009/4/20 Derek Hohls <DH...@csir.co.za>
> And, just for completeness - what is the way to set this in the sitemap
> (e.g. after a user logs in)?
>
> >>> On 2009/04/18 at 06:01, in message <49...@cc.oulu.fi>, Andre
> Juffer <aj...@sun3.oulu.fi> 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 got "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
>
>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean. MailScanner thanks Transtec Computers for
> their support.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Григорьева Мария
Re: How to make cocoon session longer?
Posted by Derek Hohls <DH...@csir.co.za>.
And, just for completeness - what is the way to set this in the sitemap
(e.g. after a user logs in)?
>>> On 2009/04/18 at 06:01, in message <49...@cc.oulu.fi>, Andre Juffer <aj...@sun3.oulu.fi> 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 got "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
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to make cocoon session longer?
Posted by Andre Juffer <aj...@sun3.oulu.fi>.
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 got "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