Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

[Free Add-on ] Logged In Cookie 0.1

Distinguish logged in users with a reliable cookie.

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.5
    Visible Branding:

    As the title suggests, this add-on sets a cookie for logged in users.

    This is particularly helpful if you want to implement caching for guests (through things like FastCGI cache, Varnish, etc.), as XenForo doesn't provide a reliable way to distinguish guests from logged in users out of the box (via cookies).

    • Sets "(cookie_prefix)logged_in" (i.e. "xf_logged_in") cookie for logged in users.
    • Displays page as a guest if user is logged in, and cookie isn't present (and sets it again), so that a user can't remove it and cache the page as if they were a guest (while still logged in).

    When you first install this, logged in users will see the first page they load as if they were a guest (since they don't have the logged in cookie yet), this is to prevent pages being cached with user information.

    • Download the add-on and unzip it.
    • Upload the contents of the "upload" folder to the root directory of your XenForo installation.
    • Go to the admin panel, click "Install New Add-on", upload the XML file provided, hit "Install Add-on".
    jorandh, vo0d0o, ayberk and 3 others like this.
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Like us on Facebook

  • Buy us a beer!

    The management works very hard to make sure the community is running the best software, best designs, and all the other bells and whistles. Care to buy us a beer? We'd really appreciate it!

    Donate to us!