Unanswered question

Is there a way to loop through cookies?

There is currently a "bug" in our application where each resources also set a cookie which never expires. This behavior is no big deal using regular browser as cache is handled and the resources is not fetched. However with neolaod the cookies keep piling up. I'd like to loop through each server cookie and set an expiry until the bug is fixed ( which may never come ).

Extraction does not seems to be an option as many http request can set its own cookie and there is no way that I know where we can add to a list instead of replacing a variable.

Anyone has an idea? ( I can't clear all cookie )

Philippe-Alexandre C.
Philippe-Alexandre C.

Philippe-Alexandre C.

46 / 100

No answers