[Haskell-cafe] removing a cookie via ghcjs
jeremy at n-heptane.com
Thu Jun 7 17:28:01 UTC 2018
There is no underlying 'deleteCookie' support in browsers. Instead you call
'setCookie' and set the expiration date to be in the past. Then the browser
will delete the cookie.
Not sure which getCookie function you are using, but there is likely a
setCookie function nearby.
On Thu, Jun 7, 2018 at 11:41 AM, Michael Litchard <
litchard.michael at gmail.com> wrote:
> Using ghcjs, I am able to read a cookie using getCookie. There's no
> corresponding remove/deleteCookie that I can find. Could I get some
> assistance in how to remove the same cookie I can see using getCookie?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe