Subversion Repositories ALCASAR

Rev

Rev 2370 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2370 Rev 2883
Line 117... Line 117...
117
    hidePage("loggedOutPage");
117
    hidePage("loggedOutPage");
118
    showPage("statusPage");
118
    showPage("statusPage");
119
    hidePage("waitPage");
119
    hidePage("waitPage");
120
    hidePage("errorPage");
120
    hidePage("errorPage");
121
    
121
    
122
    //For no compliant browser with these javascript functions : onbeforeunload and unload, to disconnect users whose close status.php window. Now, we check if user is still connected while he is joinning 'still_connected.php'
122
    //We check if user is still connected while he gets 'still_connected.php'
123
    var xhttp = new XMLHttpRequest();
123
    var xhttp = new XMLHttpRequest();
124
    xhttp.open('GET','still_connected.php',true);
124
    xhttp.open('GET','still_connected.php',true);
125
    xhttp.send();
125
    xhttp.send();
126
 
126
 
127
    // Update message
127
    // Update message