Hi Rick, i just did a quick test and created an html file which wrote a cookie with javascript
<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"] returned Rick Regards Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 04.11.2020 um 18:16 schrieb Rick Harrison via use-livecode > <use-livecode@lists.runrev.com>: > > Greetings LiveCoders, > > I have an LC server format file that uses a Javascript video player. > The video player has a nice time progress bar that shows how far > the user has played the video. All of that works just fine. > > What I would like to do is check what that time completion variable > is when the user clicks on a button to leave the video so I will know > if they finished watching it all the way to the end of the video or not. > I then want to make a note of it in my database which requires that > I am able to send that javascript variable value over to a LiveCode > variable. > > I’ve been looking at Session Cookies to see if LiveCode can read > a Javascript Session Cookie, but so far have been unsuccessful. > > Ideas, code or suggestions anyone? > > Thanks! > > Rick > _______________________________________________ > 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