<script type="text/javascript"> var sessionTimeout = <%= Session.Timeout %> function DisplaySessionTimeout() { $(document).ready(function() { document.getElementById("<%= lblSessionTime.ClientID %>").innerText = sessionTimeout; sessionTimeout = sessionTimeout - 1; if (sessionTimeout >= 0) window.setTimeout("DisplaySessionTimeout()", 60000); else { alert("Your current Session is over."); } }); } </script>
document.getElementById("<%= lblSessionTime.ClientID %>").innerText = sessionTimeout;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)