Skip to main content

Cookie Refresh loop tips

I saw in another comment some suggestions so I went to the documentation to find what I should do about the cookie refresh issues. What are the recommendations to avoid getting trapped in the cookie refresh loop?

I've closed my browser. refreshed at least 20 times. I don't know how to get out of the cookie refresh loop.

Shahjahan JewelΒ I even restarted my computer and still the same issue. I get that this is version 1 and that it's operating outside of the WordPress environment, but I don't understand why this happens so much. If this happens to the clients, I am hesitant to use this product.

Mat β€Ž

Wendy ShoefΒ 

I am not sure which issue you are reffering to so let me give you two suggestions:

  1. If you are referring to the session expiration cookie issue then you can completly disable the Magic link login options (/portal/admin/settings/privacy-settings) and you should completly get rid of the cookie notification issue althought your users won't be able to easily login to the fCommunity by just clicking the Join the Conversation button

    Cookie issue in this case might happen when you have two or more tabs opened in your browser (less say one tab with fCommunity url was open from the notification email directly and second fCommunity link was open separetely on the second tab and so on - in this case two temporary session are mixed up and you are asked to refresh your browser.

  2. If you are refering to some other issue you might first check if its related to your cache plugin (https://objectcache.pro/?).

    For troubleshooting just disable the cache or add a cache exception to the /portal slug so you are not caching the url and see if it works

  3. If none of these is your issue then I didnt get it haha.

Note: I assume you use the Latest plugin version.

BTW: Say Hi to Los Angeles

Mat β€ŽΒ I do have object cache but the cache is not enabled at the moment (I'm actively working on the website and that causes issues). I don't have cache enabled when users are logged in and particularly admin.

I don't use magic link to log in (I use normal WordPress login as I'm the administrator).

I realize it often happens when two tabs are open from different places. But that's not the issue. Since installing it (and then disabling all of the cache plugins) I have had this issue repeatedly even from the very first time. (Actually, that gave me an idea and I'm gonna go test as soon as I finish typing this). I've seen some others post about it different places so I started this thread here so if someone (like me) comes to search for either cookie, refresh, and/or loop they would be able to find the solution... I haven't yet but I'm hoping it will be coming!

LA says Hi back.

https://www.loom.com/share/975180d83d0b475591fff63865266039?sid=f1cc80a4-8752-4a5d-8116-725900fdc090

Mat β€Ž

Wendy ShoefΒ awesome recording showing the issue.

Maybe this link might help before you will get any answer here

  • Clear Your Browser Cache
  • Allow WordPress Sites To Save Cookies
  • Clear Your Other Caches
  • Increase The Duration WordPress Remembers You
  • Troubleshoot WordPress Plugins or a custome security code snippets (for logging out inactive users)

This error happens when the session cookies become invalid or corrupted. It can be due to mismatched server settings, browser issues, or problems with the WordPress session management. Often, clearing the browser cache or resetting the session variables can resolve the issue.

Note: I assume the issue also persist in the incognito mode of your browser (so it is not linked to any browser extension etc)

Erin Wright

Wendy ShoefΒ Thank you for recording this. We're having the same issue. I'm reading further new to see about solutions ...

I just realized what happened. I was working on the website and had an error which put the website in safemode. When I disabled safe mode, it kind of resets things. Since I use "/community" instead of "/portal" I needed to resave the permalinks. Issue fixed.