0

I have following code

var formatedData = JSON.parse(outParams["Result"]);
var clientData = JSON.parse(outParams["ClientGuids"]);

Cookies.remove("client");
Cookies.remove("result");

Cookies.set("result", JSON.stringify(formatedData));
Cookies.set("client", JSON.stringify(clientData));

var obj = Cookies.get("result");
var o = Cookies.get("client");

I get the value of a "client", but there is no "result" cookie. I'm using https://github.com/js-cookie/js-cookie lib. Am I missing something?

Mr. Black
  • 11,692
  • 13
  • 60
  • 85

0 Answers0