Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Re-saves whole session instead of touching it #16

@nkbt

Description

@nkbt

While debugging with DEBUG=express-session npm start getting this:

Mon, 10 Apr 2017 04:49:43 GMT express-session fetching pMzWWbqOQ42F-nvuiIkP77AdGqCsSe_e
Mon, 10 Apr 2017 04:49:44 GMT express-session session found
Mon, 10 Apr 2017 04:49:44 GMT express-session touching
awsClient.putItem { TableName: 'reef-sessions',
  Item:
   { id: { S: 'pMzWWbqOQ42F-nvuiIkP77AdGqCsSe_e' },
     expires: { N: '1493009384267' },
     content: { S: '{"cookie":{"originalMaxAge":null,"expires":null,"secure":false,"httpOnly":false,"path":"/"},"user":{"id":"GUEST_ID","username":"guest","firstName":"","lastName":"","company":"","phoneNumber":"","city":"","timezone":""},"lastModified":1491799784267}' } } }
Mon, 10 Apr 2017 04:49:44 GMT express-session split response
Mon, 10 Apr 2017 04:49:44 GMT express-session touched

Expected to run setExpires: (id, expires) function but running put: (id, expires, content) instead

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions