title: What's the best method to protect login cookie data in PHP?
body: <p>I'm creating a login system in PHP, and I want to know how to best protect the user information string in my cookie. I was thinking of  encrypting the string with a key somehow? Is this the best way? I'm kinda new to this.</p>
  
  <p>Thanks in advance.</p>