Open TomG-Mona opened 10 months ago
I am having this same issue. For me it is setting the cookies path to the current path which deletes it right away.
If I manually set the path using the session store it will set a cookie and keep it. However if you try and call it again right after to populate the value it will reset the path.
StoreInSession("path", "/", r, w)
This will create a cookie with a path "/" and it will persist.
StoreInSession("value", "somevalue", r, w)
The previous cookie is overwritten and the current path written which deletes the cookie instantly