Hi!
I'm new to php, so maybe this is a stupid question, but please help me out somebody!
I've been working on a system where I use password protection.
If username and password is correct, I use
session_register("username") ...etc.
On every page that I want to be protected I check if(session_is_registered("username")) and give the user access if true.
On logout I destroy the session.
Everything seems to be working very well, but I want to be sure if this is safe?
How safe is it?
What kind of problems could I get?
How can I solve it?
Your friend,
Kristian Blom