When setting users' preferences, is it best to use cookies as to session? (PHP)

Posted by ggfan on Stack Overflow See other posts from Stack Overflow or by ggfan
Published on 2010-04-11T01:07:09Z Indexed on 2010/04/11 1:13 UTC
Read the original article Hit count: 213

Filed under:

For each user, I want to allow them to choose their preferences, such as which categories to show on their profile, which tags they want to see, etc. Would cookies be better than sessions because they don't expire when users logoff?

© Stack Overflow or respective owner

Related posts about php