0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.188.130.151


Current Path : /var/www/results/gug_xyzaradff/
Upload File :
Current File : /var/www/results/gug_xyzaradff/logout.js

function login_ses() {
  //   console.log("hooo");
  $.ajax({
    type: "post",
    url: "login_session.php",

    success: function (response) {
      var response = JSON.parse(response);
      console.log(response);
      if (response == 0) {
        alert("please login");
        window.location.href = "index.html";
      }
    },
  });
}

function logout_gug() {
  var r = confirm("Are you Sure ?");
  if (r == true) {
    $.ajax({
      type: "post",
      url: "logout_session.php",

      success: function (response) {
        var response = JSON.parse(response);
        console.log(response);
        if (response == 1) {
          window.location.href = "index.html";
        }
      },
    });
  }
}