Ask HN: Best sessionless web stack?

3 points by niche ↗ HN
Hi there, working on a project that is built on the sessionless web

Was curious if anyone had recommendations, places to start, for building sessionless web apps?

6 comments

[ 3.2 ms ] story [ 22.7 ms ] thread
What do you mean by sessionless?

Do you mean storing everything in an encrypted-and-authenticated JSON Web Token? Check out Slim 3.0 when it gets released (coming soon I hear).

Do you mean no sessions and no cookies, ever? You can use any stack, really. Basic PHP does this by default if you don't invoke session_start() anywhere.

Pretty much any web stack will allow you to disable sessions. Not sure why you think you need something special.
because it seems like every stack is session'd

Any examples of sessionless web apps out there?

Fishing for practicality I guess..

I use Django for most everything. It's like a 1 line config change to settings.py to disable the sessions middleware module (which is enabled by default on new projects). I'm assuming this would disable setting the session id cookie (though it might still use cookies to set things like CSRF token). Sessions would be certainly dead though.
Why are you trying to accomplish that?