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 <[email protected] <mailto:[email protected]>>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 <[email protected] <mailto:[email protected]>>, Andre Juffer <[email protected] <mailto:[email protected]>> 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 1161Biocenter Oulu and | Fax: +358-8-553-1141 Department of Biochemistry | Email: [email protected] <mailto:[email protected]> 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: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]> -- Григорьева Мария
-- Andre H. Juffer | Phone: +358-8-553 1161 Biocenter Oulu and | Fax: +358-8-553-1141 Department of Biochemistry | Email: [email protected] 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: [email protected] For additional commands, e-mail: [email protected]
