I've got the following declared:
set :sessions, true
and then in my controller, I have:
session[$session_id] = user.session_id if save_successful
which sets the session, and then on a trip back to the server, I have:
session_id = session[$session_id]
But when I compare what I initially store in the session, I have:
a878bbd83f217daabec1b160b00bdde6 (initally)
d1e6264b87ae240be5a25a7edbcc97e5688df133cada1c7ab50661ae2f752b48 (on trip back)
Why is what I put into a session different from what I get out? and how do I make it the same???
Cheers,
Louis
I've posted a bug report on https://github.com/rack/rack/issues/197#issuecomment-1648851
If I use just :id instead of :session_id then it works :~)