session
session copied to clipboard
Implement custom cookie signature
This is an updated version of #98, that applies properly on current master.
Looks like the PR is marked as failed because there are not enough tests to cover all the changes made in the PR. Please update the tests to try to cover all added code paths :)
Done with all your suggestions :). I think it should be compatible with previous versions now. The s:
is only appended in the default signature. In my view, it's the job of the signature module to append it if it needs it (my patch doesn't need it). This allows express-session to be compatible with php's PHPSESSID without much trouble.