Pass Javascript Session Cookie to LiveCode Variable?
Rick Harrison
harrison at all-auctions.com
Wed Nov 4 12:16:00 EST 2020
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
More information about the use-livecode
mailing list