WordPress.org

Support

Support » Plugins and Hacks » Problems with WPTouch and rejected cookies?

Problems with WPTouch and rejected cookies?

  • jshare
    Participant

    @jshare

    I’m on 0.9.2.11 of W3TC and 1.9.7.1 of WPTouch.

    Sometimes, even when surfing on the desktop, my site shows the mobile version of a page.

    But, because W3TC is configured to not show cached versions to logged in users, when I login, I don’t see the mobile versions from the desktop, so it seems clear that this is an issue between the 2 plugins.

    WPTouch uses the wptouch_switch_toggle cookie, which it configures as a rejected cookie in W3TC’s pageview settings. But correct me if I’m wrong- if that was working properly, this problem should not be happening.

    I do know that if I clear my cookies in the (desktop) browser, the correct version of the page will appear (the non-mobile one).

    Is this a rejected cookie bug?

    http://wordpress.org/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • One thing you could try is enabling debugging in W3 Total Cache and view the page or post from a mobile device (or use the mobile view on your desktop system) and look at the generated HTML source and at the bottom, you should see a HTML comment with the W3 Total Cache debug info. This should tell you if the page is being cached or not and whether or not the cookie is being rejected.

    That might provide some clues as to what’s going on.

    Peace…

Viewing 1 replies (of 1 total)
  • The topic ‘Problems with WPTouch and rejected cookies?’ is closed to new replies.