Repository navigation
Conversation
CookieStore stores session info in encrypted/hmac'ed cookies. To do this, I need to be able to update the id when I save a session, so I updated SessionStore class. I also added some tests for session stores. These found a bug in Hyper.Session.deleteSession (the delete call wasn't actually being run), and I fixed it.
|
Hi, thanks for the PR! Regarding the session IDs: I haven't had time to look that closely, but it seems inconsistent with the I suggest we either adapt the type class to fit a broader use, or separate it into two different responsibilities, e.g. the existing @paluh input? Thanks! |

Added a session store for storing session info in an encrypted cookie, and added tests for session stores. This does include a breaking change to the SessionStore class (put needs to return the updated id), but that seems reasonable to me -- it's a one line fix.