Are cookies enough for storing login data? (PHP)

Posted by jpjp on Stack Overflow See other posts from Stack Overflow or by jpjp
Published on 2010-05-24T16:07:36Z Indexed on 2010/05/24 16:11 UTC
Read the original article Hit count: 165

Filed under:

I am reading the Head First PHP/Mysql book and they say to store both the user's username, email into cookies and sessions. Is it safe to assume that everyone know a day has cookies? Or should I store both in sessions and cookies?

I am not storing any sensitive data in cookies such as password, etc.

© Stack Overflow or respective owner

Related posts about php