SDU
Personal tools

Remove Second Message on Timeout

From SDU

Jump to: navigation, search
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Overview

This article provides instructions for disabling the second message that is generated when a timeout occurs. After selecting OK, to the first alert message, a second message appears.

Sorry, your session has already timed out. Please login again

or

Timeout reset - your session will continue until logout or %1 more minutes of inactivity

Many users started complaining that the second message is unnecessary.


Procedures

Step 1. Edit sitemods.js

Via the Web Screen Painter append the following code in the end of sitemods.js

In the below code, we are basically commenting the second alert message that's displayed during session timeout.

function timeoutResetResponse(success)
{
  if ( success ) {
    setTimeoutWarning(0);
    //alertmsg(845, propTimeout); // Timeout reset...%1 minutes of inactivity
  }
  else {
    //alertmsg(844); // Sorry, your session has already timed out
    window.location.href = cfgCgi;
  }
}

Step 2. Clear the web cache

The final step is to clear Service Desk's cache. Publish your changes via the Web Screen Painter. The process of publishing automatically initiates a pdm_webcache.

Step 3. Clear browser cache

Clear your browser cache

This page was last modified 13:09, 26 September 2008.  This page has been accessed 1,068 times.  Content is available under Attribution-Noncommercial-Share Alike 3.0 UnportedDisclaimers