You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can always get the cookies by calling JavaScript functions,
but this would require a roundtrip, and does not work for all
cookies (HTTP only, secure).
I have just implemented this as well, because it is very similar to something else that I want to implement (a function that retrieves the request URI). Does the latest commit work for you?
Right now the only way to use cookies and to distinguish different clients is to create/read them in JavaScript and get them to the server with an FFI call. See https://github.com/blitzcode/hue-dashboard/blob/ab62b89e1de251db15e220daec536a89c12efaf5/static/dashboard.html#L45. That works fine in principle, but adds another client / server round trip every time. It would be nice to just set / read them from the HTTP headers like in a normal web server.
The text was updated successfully, but these errors were encountered: