Are cookies enough for storing login data?

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:51 UTC
Read the original article Hit count: 179

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 nowadays accepts 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 authentication

Related posts about cookies