hi ive decided to use sessions breifly in my login script.
basic design -
input user, pass. submit the form and as output a logout text will appear with the users name under a session variable.
when i refresh the page the login text form will not apear because the user is still in that session. YAY all going to plan.
but.. when i click a href link the session seems to end and the form is shown once again. even though the user may have logged in on another page !
session_start()
$SESSION['reg_user'] = $POST['username'];
session is not ended