Cloudflare is dropping my cookie


#1

I’m having an issue that when I make a certain call directly to my origin server, I get back a certain cookie. But when I make the same call through CloudFlare, the cookie is missing. The request is the same in both cases, and it always works the same way.

The only peculiarity of this request is that it gets made by a javascript snippet embedded in the page. We use it to detect bots (since bots usually have javascript disabled).


#2

We were able to fix this by adding a page rule to make that one item a pass-through.


#3

Does this work on free accounts?


#4

Hi @bob.walsh, yes, free accounts have 3 free Page Rules and can purchase more if needed, https://support.cloudflare.com/hc/en-us/articles/225894428-How-To-Buy-Additional-Page-Rules