mrbean Posted May 1, 2011 Share Posted May 1, 2011 I have my script protected against all types of sql injection, XSS injection, cookies and bots. But now i want to know whats the best way of preventing session hijacking? I know nothing can be 100% secured but i want to know how to prevent it And u know it: prevention is better than cure! Link to comment https://forums.phpfreaks.com/topic/235279-how-to-prevent-session-hijacking/ Share on other sites More sharing options...
mrbean Posted May 2, 2011 Author Share Posted May 2, 2011 Solved Link to comment https://forums.phpfreaks.com/topic/235279-how-to-prevent-session-hijacking/#findComment-1209680 Share on other sites More sharing options...
cssfreakie Posted May 2, 2011 Share Posted May 2, 2011 Solved if you want to share it here, you might even help othersĀ Link to comment https://forums.phpfreaks.com/topic/235279-how-to-prevent-session-hijacking/#findComment-1209684 Share on other sites More sharing options...
mrbean Posted May 2, 2011 Author Share Posted May 2, 2011 Just check if its the same user agent and hostname Link to comment https://forums.phpfreaks.com/topic/235279-how-to-prevent-session-hijacking/#findComment-1209694 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.