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! Quote 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 Quote 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Ā Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.