Hello everyone,
I’m currently building a HTML5 quiz game, the game is to be hosted on a site. Now, each time a user plays the game, and scores a point, I’ve written a function that sends that score to the site where it is added to the players leaderboard.
Now, how do the site know the userId of the player whose score has been passed to the endpoint so It could add it accordingly.
It was suggested that I get the site’s cookies within the game and pass it in the header during the network request.
Does anybody know how I could get the cookies in corona sdk?
I have very little knowledge about web development.