PHP sessions and security -
PHP sessions and security -
i'm trying decide on level of security regards session management on php site. @ top of every page php tag run
if (!isset($_session["user"])) {header('location: login.php');}
the user session created on login, guys think secure enough? whole site runs in ssl.
well, beingness secure has 100's of different topics... in terms of trying achieve, yes think that's fine
i add together additional validation checking $_session['user'] definately right user, , seek compare session user's ip address, user agent , other things observe session hi-jacking
you should exit; after header("location: x"):
header("location: xyz.php"); exit;
php
Comments
Post a Comment