hi guys .... can anyone help me with this session problem im having ..
in my application i'm using a session variable to identify if the user is logged in ... after the server side/SQL validation, i just update my variable like this ..
$_SESSION['LoggedIn'] = true;
throught the application im using it ... and when the user sign-out ... i just call these 2 functions ..
session_unset();
session_destroy();
but, after signing out .. when i go back to a page it says "PAGE HAS EXPIRED" but soon after i refersh it, i can accsess the page without logging in ... shame on me! ... guys please help meeeeeee ...