Forum Moderators: webwork

Message Too Old, No Replies

Cookie banner, when there is no cookie ?

         

JorgeV

11:31 pm on Mar 17, 2021 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



Hello,

Just a thought, which popped into my mind.. there is no need to have a "cookie banner", when a web browser disabled third party cookies, isn't it ? (if we don't use "tracking" first-party cookies, of-course).

Visitors do not have to consent to cookies, since these cookies are blocked.

So, this brings me to a question, how to know if a browser is disabling third party cookies? Of-course, I can call a file, from another of my domain, which is setting a cookie, then test if the cookie was set or not. But, isn't there a simpler way? Like a field in the header sent by the browser?

phranque

2:26 am on Mar 31, 2021 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



as far as i know there is no HTTP Request header that indicates how a browser handles 3rd party cookies.
i would start moving away from dependency on third party cookies - it's only a matter of time before all major browsers refuse them by default.

RhinoFish

6:47 pm on Apr 2, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Write a 3rd party cookie then try to read it.