I implemented a session cookie store, just like the one in Ruby on
Available with the same caveats :
Session data is encoded in base64 and sent in the cookie with a SHA
MAC of this data.
This means that the user can see what's inside, but will not be able
to tamper with it.
Moreover session data should stay in small amount as the encoded and
signed data may not exceed 4096 bytes.
This being said, that should give us Yaws clustering for free :)
And no more sessions to expire, just set the cookie expiration date.
One small thing, make sure crypto is started.
I have also attached session1.yaws rewritten to make use of this code.
Any feedback welcome !