• Resolved mikecast

    (@mikecast)


    Great plugin!

    I’m trying to get bypass working with a conditional statement based on the SERVER_URI. Any URI’s containing “music” I want to bypass, but these are Ajax pages so it’s not picking up the $_SERVER[‘REUEST_URI’] in the conditional statement.

    Any way to make this work?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Hi– thanks for using Force Login!

    Force Login by default already has an exception for AJAX requests – any AJAX request should run without special circumstances.

    For what it’s worth, when I visit the URL you said you need help with, the page loads and works for me.

    However, when I navigate to a non-music page using the left sidebar – the center content becomes blank; but if I refresh page it redirects to a login page.

    I’m not quite sure how to help with this; Force Login wasn’t created with a Fully-AJAX website in mind. You’ll likely need to replicate this force login functionality into your own AJAX scripts.

    Thread Starter mikecast

    (@mikecast)

    Thanks for testing. I got the same results as you after clearing my cache this morning. Glad bypass is finally working, but having to refresh afterwards is problematic. I’ll get my developer working on this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Bypass’ is closed to new replies.