Allow javascript auto-logout to be cleared (SKINS)

Version 1.46

Feature
Finished

I've changed the setTimeout from: setTimeout('log_me_out();', |SESSION_MINUTES|*60*1000); to be: var logout_timeout = setTimeout('log_me_out();', |SESSION_MINUTES|*60*1000); This allows any custom skins or plugins to simply call the javascript function: if (typeof logout_timeout != 'undefined') { clearTimeout(logout_timeout); } if the currently loaded page needs to prevent the auto-logout (if the page needs to be open a long time). Just be sure to keep making regular connections to DA before the sessoin timeout actually hits on the server side, else it would be making unauthorized connections, and your IP will end up getting blacklisted.

Interested to try DirectAdmin? Get a 30-day Free Trial!