ic but lets say i have a login page and in that if its accept it adds the session variables and possibly even sets a session time, would this same information be refered back to, say for example in that check_login.php?
e.g login.php
if (username and pass in db)
session_register(username);
session_reg(......)
$session_timeout = 10;
redirect to page1.php
else
echo "error"
Now in page1.php what do i need to check? That the session is still active right, if i check the condition again wouldnt this not work? Seems confusing to me, wouldnt u need to, when they log in, have a marker, then check this marker everytime they continue in the page? Someone please explain
π