Simple Login / Logout examples using web-server

I've been looking for simple examples of login and logout that user Racket's web-server. I've looked at Racket Stories and Koto. Are there any other simple examples I should look at? It doesn't have to be production level code. I'm wanting to just see how different people get the parts to work together.

3 Likes

Sorry @markshead i keep meaning to respond but I am short of time at the moment

i think another example is in the Racket Package Catalog front web front end:

I want to do an appendix to Continue: Web Applications in Racket where the stepwise methodology continues through

  1. Making page elements and whole pages dependent on a variable
  2. Setting that variable for a user
  3. Adding a login form (set cookie to confirm logged in - do we still use cookies ?)
  4. Adding authenticatiob to a users table to db
  5. OpenID/oauth2 where validation is passed on to another service (I think racket stories does this?)