| Title | Automatic Logout |
| Date | 04-Jul-2007 16:28:10 EEST |
| Version | 2.4.100 |
| Submitter | 193.186.185.102 |
| Bug criticality | MediumBug |
| Browser version | IE6, Firefox 2.0 |
| Bug status | NotABug |
| PageProvider used | |
| Servlet Container | Apache Tomcat 5.5.23 |
| Operating System | Win XP Professional |
| URL | All Sites |
| Java version | 1.5 |
I login to the Wiki and after doing some actions or time passes by I get logged out automatically.
LogInfo:
INFO com.ecyrd.jspwiki.auth.AuthenticationManager JSPWiki:/JSPWiki/Wiki.jsp JSPWiki:http://xy/JSPWiki/Wiki.jsp
- Failed login: No remote user found
Not a bug: this is what happens by design. You need to increase the session timeout in your web.xml.
Well, I looked up the Tomcats web.xml <session-config> <session-timeout>30</session-timeout> </session-config> and the session timeout is configured!
Should I configure the session config also in the WebApps/WEB-INF/web.xml ?
It does not seem that the time triggers the logout because the time is always different!
--Mantsch Thomas, 06-Jul-2007
You can try to increase the session timeout period to a few hundred minutes (e.g. 600). That should help. If it doesn't, please check that there is no misbehaving proxy.
--JanneJalkanen, 06-Jul-2007
Ahha!
You are using an old version. There was a problem with users being randomly logged out, but it was fixed in 2.4.101, many, many months ago!
Please, always upgrade to the latest version before filing a bug!
--JanneJalkanen, 06-Jul-2007
OK, will try it out - thx for your help!
--Mantsch Thomas, 06-Jul-2007