Difference between revisions of "Remove Second Message on Timeout"
(Remove Second Message on USD session Timeout) |
|
(No difference)
| |
Revision as of 12:58, 26 September 2008
'Remove Second Message on USD Timeout'
When Service Desk web sessions timeout, or its shows a timeout related message. After you hit OK, to the first alert message, you see a second message
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 unnessary as the first message clearly states about the timeout info.
To remove this second alert message, do the following:
Step 1: Open sitemods.js via Web screen painter
Step 2: Append the below 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 3: Save and Publish
Step 4: Clear your browser cache