expressjs/session

Request: Option for refreshing the session ID

オープン

#425 opened on 2017/02/09

 (18 件のコメント) (7 件のリアクション) (0 人の担当者)JavaScript (977 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (6,073 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Sometimes, there is the need to refresh the session ID without loosing the session data.

Examples:

  1. Refreshing session ID after authentication (to protect against session fixation attacks) https://www.owasp.org/index.php/Session_fixation https://github.com/jaredhanson/passport/issues/192
  2. Manually refreshing session ID before it expires (e.g. if the user wants to keep working after the maximum session lifetime, but we do not want the same session ID to be used)

コントリビューターガイド