Child pages
  • Session timeout warning (2.x)
Skip to end of metadata
Go to start of metadata

Sakai includes a property called inactiveInterval@org.sakaiproject.tool.api.SessionManager, which dictates the length of inactive time before a users session times out and allows for the enabling of a session timeout warning. Session status is now checked by the Sakai portal. If the remaining session time is less than the warning time (say 10 minutes). When a session expires, the any page requests are redirected to the URL indicated by the loggedOutUrl sakai property. See SAK-13987 - Getting issue details... STATUS SAK-8152 - Getting issue details... STATUS for more details.

To enable the session timeout warning, set the following properties in your local sakai.properties with a time interval of your choosing:

timeoutDialogEnabled=true
timeoutDialogWarningSeconds=600
  • No labels

1 Comment

  1. for 2.7.x series sakai:

     

    You may need to apply this: https://jira.sakaiproject.org/browse/SAK-17267

    Also add this to your portal.css:

    /** Portal Timeout **/

    #timeout_alert_body {

    position: absolute;

    background: #fff;

    color: #000;

    border: 4px solid #AFBC22;

    width: 450px;

    top: 20%;

    left: 50%;

    margin-left: -225px;

    padding: 5px 5px 5px 10px;

    }

    (from rSmart support)