1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The xf_user cookie

Discussion in 'XenForo Development Discussions' started by AndyB, Mar 26, 2013.

  1. AndyB

    AndyB Well-Known Member

    I would like to authenticate the xf_user cookie for an external script. The xf_user cookie is created with the following command:

    $value = intval($userId) . ',' . $this->prepareRememberKeyForCookie($auth['remember_key']);

    When I look at the xf_user_authenticate table there is a field called remember_key. How can I verify using php that what is saved in the xf_user_authenticate table is the same as what is in the xf_user cookie.

    Thank you.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page