Pass Javascript Session Cookie to LiveCode Variable?

Rick Harrison harrison at all-auctions.com
Wed Nov 4 16:10:00 EST 2020


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 at 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"] 




More information about the use-livecode mailing list