I am creating a new game that will be available for Android and my website.
At my website, you need to register and login to play the current game, and now I want to do the same with my C2 games. I need to identify the users and add the score to their current points at the website.
I readed the tutorial about the simple login using MySQL, but I also seen in other posts that this can be very unsafe, and we can add a login using cookies or session state and AJAX, (server can tell from your session/cookie what is your state). However, I don´t know how to start to build a connection with cookies and AJAX.
Any help?
Thank you!