So i'm building a mobile game, for ios and android, and for backend im using sails.js which will automatically assign session to web browsers as their cookies.
So how do I make my mobile game to receive the cookies and store it? Or i have to make another function to generate a random string as mobile app cookies and make them to send it everytime and validate it at my server manually?
Let's say i'm using conventional email and password login?
I don't know anything about sails.js, but here are a few Google search links for "sails.js sessions"
http://stackoverflow.com/questions/2196 ... ilsjs-view
http://irlnathan.github.io/sailscasts/b ... n-in-page/
All hail, all-knowing Google knows all. Hail hail!
Develop games in your browser. Powerful, performant & highly capable.
This question is not on sailsjs, the point is im not familiar with the concept of construct 2 building mobile games, the question is, will construct 2 game when i exported and published as ios apps behaves as web browser version of it where it will automatically save the cookies?
Ah yea, browsers have a local cache for storing cookie session ids. I assume iOS does something similar, but I do not know for sure.
I am sure that Google has your answer, it is just matter of finding it.