8 votes

The Clear-Site-Data HTTP header

2 comments

  1. [2]
    Grendel
    Link
    Is this new? I haven't heard of this before, though I don't do much web dev anymore so I'm not really up to date these days. I would assume sites currently handle this via javascript but being...

    Is this new? I haven't heard of this before, though I don't do much web dev anymore so I'm not really up to date these days.

    I would assume sites currently handle this via javascript but being able to just send a header like this would be nice.

    2 votes
    1. Adys
      Link Parent
      Yes I think it's somewhat new. I had never heard of it, came across it accidentally, was kinda blown away. And no it's not possible to do this in JS actually, that's why older websites might just...

      Yes I think it's somewhat new. I had never heard of it, came across it accidentally, was kinda blown away. And no it's not possible to do this in JS actually, that's why older websites might just say "Clear your cookies and try again".

      2 votes