Posted by SterLo on 05/10/07 14:45
For a login system - it is best to do the following.
Generate your page and stuff.
Then have the login form setup.
The user then posts to what ever page when they submit the form.
Set Session variables.
Check the session variable data and if it isn't empy - go into the
database and cycle through to find a match.
If no match - display an error.
If one is found - then continue on.
Simple stuff.
[Back to original message]
|