0
I have the following js to display an alert.
function session_checking1()
{
$.post( "./alertaposicionamento2", function( data ) {
if(data.status == "-1")
{
alert('Tem posicionamento em atraso do Utente '+data.value);
}
});
}
var validateSession1 = setInterval(session_checking1, 120000);
I wanted that when I displayed the alert to the user, the same user had the option to receive the same alert again or cancel the same alert, and if I canceled the alert activate again after 30 minutes.
Can help?
You can work with Sessions and Cookies!
– Jonathan de Toni
@Can Jonathan de Toni explain this process better to better understand? If possible put an example in order to understand this logic?
– Junior