• Resolved Shawn Williams

    (@intelconcepts)


    Hi,

    When this plugin is enabled, it sets a no-cache cookie on our site that renders all pages un-cacheable. How can we remove this cookie?

    Thank You

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vark

    (@vark)

    Hi,
    You just caught me at shutdown for the evening….

    Pricing Deals does not have cookie functions of any kind.

    It sounds more likely that you’re experiencing a module conflict.

    Suggest a *full module conflict test*:

    To track down a module conflict, please follow these steps ** PRECISELY **:
    (1) Install and activate a maintenance mode plugin (if desired)
    (2) Then, DO ALL (*at the same time*):
    (-) do a full site backup!
    (-) deactivate ***all*** plugins except Woo, my plugin (and maintenance mode plugin)
    (-) ** switch to a clean default theme like “twentynineteen” **
    — (This removes all other possible conflicts.)
    (-) turn off all deals except the one we are examining.

    (3) ** close your browser completely, retest in a fresh, clean browser session **
    (4) if good, add 1 module back in. ** Retest **
    (5) Repeat until conflict identified.

    ** This test depends on following the outlined steps fully. **

    Best,
    Vark

    (PS – If you do have a module conflict, it will likely boil down to choosing between the 2 conflicting modules…)

    Thread Starter Shawn Williams

    (@intelconcepts)

    Hi,

    This issue appears if the pricing deals plugin and woocommerce are the only plugins installed. Additionally I get this message only when the pricing deals plugin is installed.
    “A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.”

    On further investigation I found the following code in vt-pricing-deals.php on line 52

        if(!isset($_SESSION)){
          session_start();
          header("Cache-Control: no-cache");
          header("Pragma: no-cache");
        } 

    Please advise as to the purpose of this no-cache header and whether removing it will effect the plugin functionality.

    Thanks

    Plugin Author vark

    (@vark)

    Hi,
    Hmmm…. I’ll investigate and get back to you…
    Best,
    Vark

    Plugin Author vark

    (@vark)

    Hi,
    Please contact me on my support channel
    https://www.varktech.com/support/
    and I’ll send you the release candidate fix.
    Best,
    Vark

    Thread Starter Shawn Williams

    (@intelconcepts)

    Hi,

    Thanks, I opened a ticket.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Cache Cookie being set’ is closed to new replies.