From the Readme.md file, it says,
The middleware will automatically add a Set-Cookie
header to the response if the contents of req.session
were altered.
Where is the implementation of detecting req.session
change? Could you point me to the code or explain me how is this change detected?