I'm building a site with a membersarea.
If a user login I compare his posted username/password against a database table, and if correct I set two variables in a session. His username and IP address.
On the following pages I only check if username session variable isset and if IP match.
My question is if this is safe enough? Or can improve my system in some way?
Thanks for your input,
Michael