Ok, I found a way to solve that problem: change the session time-out in the
web.xml file of the application.

Quote ON

There are two simple ways to set timeout. 1) WEB.XML(Application's). 2)
WEB.XML(tomcat's in conf folder). Format : <session-config>
<session-timeout>3</session-timeout> </session-config> (here time in mins)
So application will take time which is less from both the files (i have
tried). I think in tomcat's web.xml default time 30 mins so your session
is expiring after 30 mins , just increase the this value and see what
happens. good luck.

Quote OFF

Taken from http://www.jguru.com/faq/view.jsp?EID=525564
It worked for me (Roller 2.3, Tomcat 5.5.9)

Regards !

Alexandre B.

On 2/7/07, Alexandre B. <[EMAIL PROTECTED]> wrote:

Dear all,

I'm using Roller 2.3 with Tomcat 5.5.9 with the Math comment authenticator
(the simple math question captcha) and experiencing the following problem:

* I'm writing a comment in the appropriate field
* when I submit the comment after a long time has past, I get the message
telling that the answer to the simple math question is incorrect (that
problem does not appear when I submit the comment a few minutes after I
finished to write it)

I analysed the requests sent via HTTP and I'm wondering if it's not a kind
of session timeout that can be the origin of this problem: indeed the
JSESSIONID before posting and after posting have different values !!!!!
(see the requests caught after - edit can attach them cause my message is
rejected as spam :/).

Could you indicate me if the session timeout can be the origin of the
problem,
and if so, how can I set the session timeout to a higher value ?

Thanks in advance,

Best regards,

Alexandre

PS: I found this bug on
http://opensource.atlassian.com/projects/roller/browse/ROL-936 but it
seems to deal with user authentication, so I'm not sure it's suitable for my
problem

Reply via email to