javascript - show a page if user is logged in web application -
i used google plus service logging web app (using html button), , saving db passing in ajax server.
now, want build different page user able post images , descriptions need know user posted information.
how can that?
save user auth token (or whatever you're identifying user with) in localstorage on client-side , send within ajax call; , validate on server-side.
Comments
Post a Comment