handle session epire cookies, force int expire

This commit is contained in:
simon 2022-06-25 20:36:41 +07:00
parent 68fae9d6d4
commit a3bbc863c9
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ function buildCookieLine(cookie) {
"TRUE",
cookie.path,
cookie.httpOnly.toString().toUpperCase(),
cookie.expirationDate,
Math.trunc(cookie.expirationDate) || 0,
cookie.name,
cookie.value,
].join("\t");