hay all, I currently develop a website using php
but I very newbie in php programming
I have login issues here, I create a login sytem I success to make that, in my web after login page it will go to admin page but when I click browser's back button in the admin page again. I try to put session in login page and identify it in the admin page but it doesn't work. here is my code
login page
<?php
session_start();
$_SESSION['page'] =1 ;
?>
//login form
admin page
if(isset($_SESSION['page'])=='1' ) {
header("Location: admin.php");
}
?>
thank you in advance