Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
enron45615364dSetup a table of of user IDs and an active session boolean
magicMirror653364dGenerate a long, random unique login token on login. Invalidate all other tokens for the user when that happen. all coms to the server should include this token in the request. You can also identify which user made the request from the token. requests with invalid tokens gets redirected to the login page.