While previewing the Cloudflare app previously stored cookies are coming into play

69 Views Asked by At

Scenario:

  • Let's say I'm setting a cookie (name=John Doe;path=/).
  • After some time I'm again setting a cookie (name=Jonny;path=/).
  • Now, If I get the cookie name I'm receiving "John Doe".

May I know Why I'm not receiving the latest value? Please help me with this issue.

1

There are 1 best solutions below

3
On

Are you setting this cookie in a Cloudflare app and then seeing the old cookie stored in the app previewer? or is the old cookie stored incorrectly on a site with it installed? If it's on only the previewer, this is likely something to do with the iframe.