This may be a bug or it may be that I’m not clear how to use the new feature yet. There are two issues I’m having trouble with.
If an option to delete a cookie is included on a page, this will result in apparently erratic behaviour as the values in the Wappler array will be out of sync with the values in the cookie. It may just be that I haven’t found a way of deleting all array values - or that I’m going about this in the wrong way.
A related problem is that cookies appear to behave erratically when reopening a page containing cookies . The cookie values appear as expected, but again, the array component will be out of sync so adding or removing items to/from the cookie produces apparently erratic results.
The problems are a little difficult to explain. Hopefully this demo will clarify things.
Last updated: