Support » Plugin: WP-Polls » Cloudflare issue?

  • Resolved Kletsky


    I’ve been getting reports from people who say that they cannot vote on the polls. They say that when they bring up the site, the results to the poll are there, but there is not button allowing them to vote.

    I run a high school sports website ( and many students access our site and try to vote on various polls. Many people run into this problem of the voting button not being there, just the results.

    I’m wondering if WP Polls is registering an entire network as one vote instead of individual computer IP addresses and this is preventing people from voting… I tried a test at my house. I voted using my computer over WiFi. It worked fine. Then I tried to vote from my wife’s phone over the same WiFi. I couldn’t vote– all I got was the results. However, when I switched off the WiFi and visited the site from the 3G network, it did work for me.

    Is this a caching issue (I’m using Cloudflare)? Is there another fix to this? The polls are really important to our site, so I’m hoping you can help me out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan


    By default WP-Polls uses Cookie and IP, for IP it will try it’s best to get the real IP by following the X_FORWARDED_FOR for transparent proxy.

    If you vote on the same WiFi and your wife’s phone is using the same WiFi, it will not work because both the IP is the same. That is the reason why the 3G work. For your school website, I got a feeling it is behind the same IP address and hence this issue.

    I don’t think there is anyway around it unless you use Cookies only or force people to register at your site and allow members to vote only.

    Think of it from my point of view, if you are not registered at a site, how can they track you? It is via cookie or IP only.

    If I wanted to use cookies only, how would I do that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloudflare issue?’ is closed to new replies.