Aggressive Preview Mode

After clicking Save & Preview for one page on a site, the “preview mode” follows even after saving and publishing. I get the “View published version?” pop-up. Clicking “View Published Version” just loops the pop-up again. Even clicking the “Stay in preview mode” and then the little “Click to end preview mode” at the bottom of the window only stalls the re-emergence of the Preview Mode pop-up; going to a different page just makes it appear again.

Is there something that I can do to make this stop?

Has the UMB_PREVIEW cookie been set to HTTP only?

I had a this problem when a client set all their cookies to HTTP Only. The preview bar uses JavaScript to unset the cookie, so if the cookie is set to HTTP only it will never get unset.

Here’s what it should look like:

3 Likes

Hi,

I do think there’s a cookie issue because hard refreshing makes the issue go away better than refreshing alone, but I can’t see that the UMB_PREVIEW is set to HTTP Only. Even if it were, what would be the solution in the code to make it stop?