You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Brad Hannah <ha...@post.queensu.ca> on 2006/03/15 19:05:51 UTC

Session Timeouts

Hello All,

I am trying to increase the session timeout. As I am sure many have 
encountered the 20 minute content publishing session, only to realize 
that you have been automatically logged out. Where do you change this?

I have already set
connectionTimeout="1800000"
in my server.xml in Tomcat 5.0, but there seems to be a different flag 
somewhere else? Or am I wrong?

Thanks,
Brad


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Session Timeouts

Posted by Josias Thöny <jo...@wyona.com>.
On Wed, 2006-03-15 at 13:05 -0500, Brad Hannah wrote:
> Hello All,
> 
> I am trying to increase the session timeout. As I am sure many have 
> encountered the 20 minute content publishing session, only to realize 
> that you have been automatically logged out. Where do you change this?
> 
> I have already set
> connectionTimeout="1800000"
> in my server.xml in Tomcat 5.0, but there seems to be a different flag 
> somewhere else? Or am I wrong?

Please try

<session-config>
<session-timeout>30</session-timeout>
</session-config>

Add it as a child of the <web-app> element in web.xml of your webapp
(Lenya), the value is given in minutes.

hth,
Josias

> 
> Thanks,
> Brad
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Session Timeouts

Posted by Michael Wechner <mi...@wyona.com>.
Brad Hannah wrote:

> Hello All,
>
> I am trying to increase the session timeout. As I am sure many have 
> encountered the 20 minute content publishing session, only to realize 
> that you have been automatically logged out. Where do you change this?
>
> I have already set
> connectionTimeout="1800000"
> in my server.xml in Tomcat 5.0, but there seems to be a different flag 
> somewhere else? Or am I wrong?


there are also keep-alive times set within

build/lenya/webapp/WEB-INF/cocoon.xconf

for continuations, but I am not sure if this actually have an effect on 
the session timeout.

Also you might want to try web.xml of the actual webapp:

http://www.onjava.com/pub/a/onjava/2001/03/15/tomcat.html

HTH

Michi

>
> Thanks,
> Brad
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org