cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: How to make cocoon session longer?
Date Mon, 20 Apr 2009 06:25:38 GMT
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 <49E9F93E.60508@cc.oulu.fi>, Andre Juffer
<ajuffer@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


Mime
View raw message