• Resolved thnor

    (@tonyhnor)


    Hi, we are struggling with a password protected post, where you suddenly can’t log in after a while. It works again after purging cache.

    Have tried to set Scheduled Purge URLs, have implemented the URL where we login and defined a time (defined at night).

    Our issue is that the login works when we manually delete cache, but the scheduled purge do not do the trick. We have several users that uses this form early in the morning, so it would be nice to have some automatic function.

    Any idea what we do wrong? The documentation does only give basic info.

    Here is our settings:
    Scheduled Purge URLs: /landing-page-for-login/
    Scheduled Purge Time: 05.00
    (Also: Purge all on update is on and Auto Purge on Front, Home and Pages)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please try set the schedule to , like next minute , and see if it works ?

    for example if currently it’s 16:41 , set it to 16:43 , and see if it purges ?

    also please note that PHP time may not be same as server time.

    you can use this code to get the exact time

    <?php 
    $current_time = date("Y-m-d H:i:s"); 
    echo $current_time;

    Best regards,

    Thread Starter thnor

    (@tonyhnor)

    Hi, yes, tried it and it seems to work, everything got purged and that login page worked like a charm. What does that mean exactly?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    that schedule purge works , but your setting

    Scheduled Purge URLs: /landing-page-for-login/
    Scheduled Purge Time: 05.00

    doesn’t work ?

    Best regards,

    Thread Starter thnor

    (@tonyhnor)

    That is correct. It seems to need a manual purge / or be logged in at the same for it to work. The login page works for a while, then stops (can’t login/nothing happens) – delete cache and everything works well again. We have no other cache-plugins active on site.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    so /landing-page-for-login/ is your login page ? and it is also password-protected page ?

    Did you use any 3rd party plugin that used for login ?

    by your comment , if it works after purge , and then broken after certain period of time , I suspect it’s due to WP nonce.

    Best regards,

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi,

    I’m going to mark this topic “Resolved,” due to lack of activity.

    If you still need help, please let us know.

    We’ll be happy to reopen the topic if necessary.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Scheduled Purge URLs’ is closed to new replies.