• Resolved wwwolf

    (@wwwolf)


    Having edited a popup, how do I ‘reset’ the repeat display, so that users who already visited and have seen then popup will see the new version right away, rather than nmot until their cookie expires?

    I just checked (using different browsers to simulate non-logged-in user) and this is not default behaviour. However, since I am displaying an urgent change to covid info, it’s important that repeat visitors see the new version!

    I guess I could just replicate the popup and replace it (since the cookie will be different), but that seems a bit clumsy – presumably there’s a more elegant way?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Bel

    (@belimperial)

    Hello @wwwolf

    Thank you for reaching out!

    Usually, this issue is caused by a cache. If the cache has not been cleared, it will display the old version of the site or the popup. I checked your site, and it seems you have a server-side cache.

    Please could you check this in with your host, and in case you have a server-side cache, kindly resave the changes you made on the popup and clear the server’s cache. Before testing the page, kindly also clear your browser’s cache and test the page using a private or incognito window.

    Let us know if this helps fix the issue or if you have any questions about this matter.

    Thread Starter wwwolf

    (@wwwolf)

    Thanks for that – I tried that but it’s still not working. What I did:
    In browser A (Safari) = ‘visitor’
    1) Opened new private window and visited site
    => popup appeared [check]
    2) Closed the popup and refreshed page and navigated to another page
    => no popup [check]
    3) Navigated to a different website, then cleared the browser cache.

    In Browser B (Firefox) = logged in to site as an ‘administrator’
    4) Edited the popup content (added punctutation) and saved
    5) Clicked ‘Purge All’ for the server cache (LSCache)

    Back on Browser A:
    6) visited site again.
    => no popup [sad]

    I obviously did NOT close the private window in between, nor cleared cookies, as that would not replicate what I am trying to achieve – that someone who DOES have the cookie is still shown the popup again, because it has changed.

    So I’m back to my previous workaround I guess, if there’s no simple option to (as it were) refresh the cookie’s validity – creating a whole new popup with (therefore) a different cookie?

    Thanks.

    Thread Starter wwwolf

    (@wwwolf)

    OK, finally (after some messing around) got the ‘workaround’ to work.
    I created two popups, enabled popup1, cleared the server cache, opened a new private window and viewed the site.
    => popup1 displayed. [check] Closed it.
    Disabled popup1, enabled popup2, cleared server cache.
    Cleared browser cache (but NOT cookies) for second browser then
    <shift>-refreshed (in the same private window)
    => popup2 displayed. [check] = intended behaviour.

    I must admit I don’t know enough about cookies to know if there should be an easier way, but this works. Just a bit annoying if every time my client wants to change this notice, I’ll have to recreate the popup from scratch. I tried deleting and recreating the trigger but, since the cookie name is generated from the post number, it just recreated the same cookie. I’m guessing that’s what’s at the root of this problem?

    Bel

    (@belimperial)

    Hello @wwwolf

    Thank you for your reply.

    Yes, cookies can be one reason why the popup did not display on the browser. Viewing the popup on a private or incognito window, it will display the popup. However, since the popup has a cookie, the private browser will follow the cookies you have set on it and the browser’s cache.

    Shift refreshed will then clear the cookies and the cache, allowing it to re-display the popup on a private window. However, when using a regular reload or not ending the private window session or using a new private window, the cache of the browser and cookies of the popup will take effect does cause the popup not to display on the window.

    On the other hand, you may clone the popup and disable the old popup on the dashboard. Please see this example https://share.getcloudapp.com/llu2eLel
    This will lessen your time to recreate the popup from scratch. However, you may need a duplicate plugin for you to duplicate or clone the popup.

    I hope that helps.

    Let us know if you have any questions about this matter.

    Thread Starter wwwolf

    (@wwwolf)

    Thanks – good to know a ‘duplicate’ plugin will work OK to clone these – I’ll do that next time. Creating new popups does seem to be the only way around this. Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reset repeat display on editing pop-up content?’ is closed to new replies.