Please Help...
I a login page. It's just a simple HTML form.
<FORM ACTION ="login.php" METHOD ="post">
<INPUT TYPE="text" SIZE="15" NAME="login">
<INPUT TYPE="password" SIZE="15" NAME="password">
<INPUT TYPE="submit" VALUE="Login">
</FORM>
After the users login (submit the form), the "login.php" will check the login and password against the database. If everything is correct, "login.php" will send them to the next page called "main.html". "main.html" is a main of 2 different frames (message.php) and (read.php). I got everything to work up to this point.
What I want is that after the user(s) login, I need some kind of machanism to keep the login name and check every time they access "message.php" or "read.php".
You might asked, why do I have to check their login names again after they login?
Well, different login name will read different messages. They do not read the same messages.
Well, I know I probably need to use session of some kind because I want to keep track of all the people are using (browsing "main.html"), and as soon as they leave "main.html", I have to know that too...
Sorry, for the long message, but I want to be specific, so we do not have any communication problem.
Thanks for all your help,
Chris