Hi Rick, there are two files:
writecookies.html readcookies.lc See the code of each here https://livecode.dermattes.de/javascript/showcode.lc - Matthias Rebbe Life Is Too Short For Boring Code > Am 04.11.2020 um 22:10 schrieb Rick Harrison via use-livecode > <use-livecode@lists.runrev.com>: > > Hi Matthias, > > I just tried your code and it didn’t go across from one format file to the > next. > > I got: username = “username” > > What’s wrong? > > If you can give me your full code for both mini format files I will try it > and we can see the results exactly. > > Thanks for helping! > > Rick > >> On Nov 4, 2020, at 2:04 PM, matthias rebbe via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> <script type="text/javascript"> >> document.cookie = "username=Rick"; >> </script> >> >> Then in LC Server i used the array $_cookie to read the content of the cookie >> >> Doing a >> put $_Cookie["username"] > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode