• Resolved nebrekab

    (@nebrekab)


    Hi,

    Thanks for the great plugin.

    I am using your plugin on a number of WP Engine hosted sites and it’s been working great for years. However, since the upgrade to WP 5.5, I notice that sessions are not stored across pages. I have debugged this and found that whereas before it played nicely with WP Engine’s caching, now it is not. Removing pages from caching where you want to use sessions does fix the issue, but this is not allowed for the home page of the site – which is a deal breaker…

    Would you have any ideas on how to get it working again?

    Many thanks,

    Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter nebrekab

    (@nebrekab)

    This is now fixed.

    From our tests, it seems the cookie that needs to be cache excluded has changed for WP 5.5 from $_SESSION to SSESS.

    Would be interested to know if this makes sense to the plugin devs @danielbachhuber?

    • This reply was modified 4 years, 3 months ago by nebrekab.
    • This reply was modified 4 years, 3 months ago by nebrekab.
    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    @nebrekab Neither WP Native PHP Sessions nor WordPress define the cookie session name. It might’ve been a configuration change WP Engine made at the same time as the release.

    Thread Starter nebrekab

    (@nebrekab)

    Okay, thanks for the info and once again for this plugin. ??

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    You’re welcome!

    Is this an active problem still? I’m seeing the same issues in this thread. I’m running up to date versions of WordPress and plugins.

    Is anyone else experiencing this issue with WP Engine? If so, did you solve it?

    I’m having the same problem on WP-Engine with WP v5.6.1.

    WPE support sez they can exclude specific pages from their caching but I’d have to send them a regex dump of the specific pages to exclude (and I assume I’d have to resend that to them if I change the page code even a little).

    They also said that their Legacy Staging sites do not implement their caching. I’m gonna try that for development but still ‘no good solution for their production sites. BTW, this does not appear to be a problem with the plugin – it was happening for me before (only on WP-Engine), and I was hoping this plugin would fix it…

    Any help is welcome, and I’ll post a solution here if/when I find it.

    Cheers

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP 5.5 + WP Engine’ is closed to new replies.