Hi, first of all: awsome job Develephant. I remember when you posted this for the first time, but I wasn’t into networking features so I just skipped but knowing there was a feature available if I wanted to try it.
Since a couple of weeks ago I’ve been trying to set up a decent networking structure and managed to have a working LAMP local server (had 0 experience in unix systems). While it was really fun to do, there is a lot of thing to configure, performance to be done, and $$$ to be spend (server/hosting, SSL, etc)
I then remembered about Parse and this module and gave it a try. Had a hard time during the first time, but I blame my inexperience with networking resources (and usually get the idea of how to use a new library). Anyway, after that I understanded a lot more and managed to make a make a good structure.
Now i’m getting into a problem here. Users are being logged in automatically after the first login, this works… but in my parse console there is a session being created everytime i log in the user with this code:
-- i get these from other part user = MYUSER pass = MYPASS local function onLoginUser(event) if not event.error then print("connected") else print("Login error") end end parse:loginUser( { ["username"] = user , ["password"] = pass }, onLoginUser )
Now the question is… since the sessions expire after 1 year of being created, is it OK to generate one everytime an user logins? Where and how whould you use them if not?
Thanks in advance, and thanks again for the awsome mod