0

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.

Aravind
  • 121
  • 1
  • 8

1 Answers1

1

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.

  • The issue is happening while previewing only. – Aravind Oct 09 '18 at 00:23
  • 1
    Does this still happen when you open the previewer in a new tab? – Victoria Bernard Oct 11 '18 at 17:20
  • Yes. If I open previewer in a new tab or click on the "GO" button, I'm having two cookies "name=Jonny;name=Jonny;". This time two cookies have same value. First cookie is older cookie and Second one is the current cookie. – Aravind Oct 12 '18 at 09:39