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 : 3.15.237.229
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";
}
},
});
}
}
|