tau
tau

Reputation: 6749

Need info on building stateless web app

If someone could point me to some good resources on building a stateless web app (or just give me some basics here), that would be great.

I am making a web app that has a presentation layer entirely in JS. It will interface with a RESTful API that I don't want to depend on sessions.

How can I manage an API and user authentication without sessions? (Please note I am doing this to learn more, not because it is necessarily the best solution for my web app)

Any info is greatly appreciated!

EDIT: I am not opposed to using cookies to maintain state (as long as there is a secure way to do it), I just don't want a session opened on the server.

Upvotes: 1

Views: 352

Answers (1)

Quentin
Quentin

Reputation: 944010

Send all the authentication data in every request.

Upvotes: 5

Related Questions