0

I am creating cookies in react using "react-cookie". I want to create same cookie for two different domains. Is this possible?

 cookies.set("WebTimeClock", result.result, {
                    expires: new Date(dateTime),
                    path: "/",
                    //domain: "inn-flow-v2-dev.azurewebsites.net",
                    domain: "localhost",
                    sameSite:false,
                  });
Nischal Tyagi
  • 199
  • 1
  • 10

0 Answers0