How to notify the client of cookie changes made by set-cookie header

Viewed 98

Is there a way to detect when cookies are changed, added, deleted for my domain in the client side javascript- including when cookies are set by a set-cookie header?

A similar question was asked here but the solutions seemed to only worked when cookies were changed in the javascript ex- document.cookie = 'a=7' but not when cookies were set by a server response in the set-cookie header. I would like to listen for when cookies are changed/set by the set-cookie header as well.

0 Answers
Related