how would you detect a user name in a project, for example I could use this for example a person left a game and came back their spot would be saved.
would something like this work? (question to anyone who cares to help)
You would have to use the Database library to save the session in localstorage to be able to come back to it later.
ok, but how abt the username detection?, still wanna be able to do that
You would probably want to store that in a cookie. Make sure to digitally sign it so that you can make sure that no one has tampered with it.
ahh, that's helpful thanks
I remixd that and added save data to it.
its in the getters and setters library
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.