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

XF 1.3 xf_session cookie changes on each page view behind CDN, xf_user does not change

Discussion in 'Troubleshooting and Problems' started by Marcus, Aug 2, 2014.

  1. Marcus

    Marcus Well-Known Member

    On each new page view the xf_session cookie changes. Within the admin area the xf_admin cookie changes randomly, at the public area the xf_admin cookie does not change. The cookie xf_user always stays the same.

    The community is behind Amazon Cloudfront which lets all cookies and headers through. When accessing the server without the CDN directly all cookies stay the same after each page view.

    Do you know what triggers the xf_session change? Thanks!
  2. Mike

    Mike XenForo Developer Staff Member

    The IP appears to be changing. You need to setup $_SERVER['REMOTE_ADDR'] to have the correct IP via a line in config.php.
    Marcus likes this.

Share This Page