Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(function() {
- $.ajax({
- type: "GET",
- url: "includes/checksession.php",
- success: function(msg){
- if(msg == "You have timed out. Clock OK to continue.") {
- alert(msg);
- window.location.reload()
- }
- }
- }, 2000);
- });
Add Comment
Please, Sign In to add comment