session timeouts and lost context

Issue #44 new
Craig Berry created an issue

When your session times out, you must log in again, but this puts you back on the front page, where you must log in, find the text you were working on, and then navigate to whatever page you were on.

This could be mitigated by a longer session timeout. Some sort of bookmark stored in a cookie that gets you back to where you were might also be nice.

Comments (1)

  1. Craig Berry reporter

    While the app handles session timeouts poorly and that should be addressed, simply increasing the Jetty session timeout from the default 30 minutes to 8 hours should make this a much less annoying problem:

    --- /home/exist/exist/tools/jetty/etc/webdefault.xml.orig   2017-10-08 13:23:44.431996196 +0000
    +++ /home/exist/exist/tools/jetty/etc/webdefault.xml    2017-10-08 13:24:09.908493471 +0000
    @@ -343,7 +343,7 @@
       <!-- Default session configuration                                        -->
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
       <session-config>
    -    <session-timeout>30</session-timeout>
    +    <session-timeout>480</session-timeout>
       </session-config>
    
       <!-- ==================================================================== -->
    
  2. Log in to comment