How Do I Make Sessions More Secure? [duplicate]
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: PHP Session Security I am using sessions all throughout my application. I want to make them much more secure. Currently I am using code like $username = $_SESSION['username']; and the like. How do I make my sessions more secure? 回答1: The first thing you'll want to watch out for is Session Hijacking. To quote Wikipedia: In computer science, session hijacking refers to the exploitation of a valid computer session