Hi,
I have created a session code and it is working in SC 8.1, but it did not work in SC 9. This session code I put in onExecute event in my menu application. Please share your idea why it is not working in SC 9. thank you
if(isset($_SESSION['test']))
{
if($_SESSION['test'] < time())
{
unset ($_SESSION['test']);
echo "<script>
alert('maaf, waktu Login Anda habis, silahkan login kembali');
parent.parent.window.location = '../app_sec_Login/app_sec_Login.php';
</script>";
}
else {
$_SESSION['test'] = time() +1000;
}
}