i am having a problem with session
suppose a user X signs in and signs out and another user Y signs in and he signs out
when they sign out, the session is destroyed
however if i continue to press back, i can have access to user X account and can use the website under his name
when a user logs in it creates the following:
Code: Select all
$_SESSION['USERNAME']=$uname;
$_SESSION['LOGGEDIN']=true;