It seems to me that your site is using cookies that APO doesn’t recognize, so it’s showing a cached page even though you’re logged in. I suggest that you open a ticket and post the ticket here. @yevgen usually checks on these during the work week.
Sorry the for the late response. I disabled cloudflare which fixed the currency issue (logging in and out of session as navigating pages) but the site is now noticeably slower so I re-enabled cloudflare but the problem persists.
What do you mean by APO?
You’re setting Cache Everything, and that doesn’t work well for sites that use logins. I’m quite sure this is the cause of your issue. Turn that rule off and I bet you won’t have login/logout problems.
Because you have a Page Rule that matches everything (*example.com/*), no other rule will trigger because you’ve already matched the first condition.
Typically, I have the ‘www’ forwarder as #1. I don’t use an Always Use HTTPS rule because I already set that in SSL/TLS → Edge Certificates.
Cookies. Maybe missing something at WordPress? Kindly, check below my approach with this.
Maybe it is the Web browser?
May I ask is your WordPress install on www or non-www?
Furthermore, is it installed on HTTP or HTTPS?
As @sdayman already stated, could be regarding a cache if using some Page Rule at Cloudflare dashboard, or maybe, I hope you are running Full SSL (Strict)? Or else, having Really Simple SSL plugin just in case?
Maybe out of scope, but maybe it can help to reslove the issue while being logged in, then got back to homepage and I saw it as “not logged user”. Then I had to either start “developer console” and hit F5 (refresh button), then the admin bar would appear and the cookie would obviously be loaded.
I thought it has to be something with the cached / non-cached version at Web browser
as I have had few issues with my Nginx and cookies while using WordPress over HTTPS and www.
From above mentioned, I usually have this approach:
Full SSL (Strict) + Always Use HTTPS + Automatic HTTPS Rewrites enabled at Cloudflare dashboard
Really Simple SSL plugin installed
WordPress wp-config.php file has got the define('FORCE_SSL_ADMIN', true); added
WordPress wp-config.php file has got the define('COOKIE_DOMAIN', 'www.mydomain.com'); added
WordPress is installed on www and HTTPS (home_url, blog_url) and my web server (Nginx) is doing non-www to www redirection (including HTTP to HTTPS)
And later on, I use W3 Total Cache with few Page Rules, one of them is with the Cache Everything option