Cookies security issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bettor
    New Member
    • Jun 2007
    • 27

    #1

    Cookies security issue

    Hi all,

    I need some advice on cookies. What is the best (most secure) way to implement cookies to check for registered users with JS or PHP?

    All advices will be highly helpful.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Checking for registered users should be done on the server-side. Javascript cookies is just for 'remembering' things such as preferences or to display what's new since the last visit, etc. There should be no sensitive information client-side.

    Comment

    Working...