mozilla/node-client-sessions — pull request #56 by fmarier (2013-09-04 04:45:52+00:00)
Title: Update the cookie expiry whenever duration or createdAt change

The cookie is reset everytime something in the session payload
changes. Whenever its reset, the original value of expires is
used.

This is good unless the duration or the creation time change. In
that case, we need to also update the cookie expiry to match the
expiry of the signed payload.