What are some guidelines for maintaining responsible session security with PHP? There’s information all over the web and it’s about time it all landed in one place!
What are some guidelines for maintaining responsible session security with PHP? There’s information all
Share
There are a couple of things to do in order to keep your session secure:
$_SERVER['HTTP_USER_AGENT']. This adds a small barrier to session hijacking. You can also check the IP address. But this causes problems for users that have changing IP address due to load balancing on multiple internet connections etc (which is the case in our environment here).