Set-Cookie Parser
Pengurai Set-Cookie
Tempelkan header respons Set-Cookie baris demi baris untuk melihat atribut, risiko potensial, dan apakah kombinasi SameSite/Secure masuk akal.
Kartu Atribut Cookie
2 Set-Cookie
#1sessionabc123
path/
httponlyflag
secureflag
samesiteLax
Tidak ada masalah kombinasi atribut yang jelas ditemukan
#2preview1
max-age600
samesiteNone
SameSite=None requires Secure in modern browsers.HttpOnly is missing, so JavaScript may read this cookie.Path is omitted, so the browser will derive a default path from the response URL.
Pratinjau JSON
[
{
"index": 0,
"raw": "session=abc123; Path=/; HttpOnly; Secure; SameSite=Lax",
"name": "session",
"value": "abc123",
"decodedValue": "abc123",
"attributes": [
{
"key": "path",
"value": "/"
},
{
"key": "httponly",
"value": null
},
{
"key": "secure",
"value": null
},
{
"key": "samesite",
"value": "Lax"
}
],
"attributeMap": {
"path": "/",
"httponly": true,
"secure": true,
"samesite": "Lax"
},
"warnings": []
},
{
"index": 1,
"raw": "preview=1; Max-Age=600; SameSite=None",
"name": "preview",
"value": "1",
"decodedValue": "1",
"attributes": [
{
"key": "max-age",
"value": "600"
},
{
"key": "samesite",
"value": "None"
}
],
"attributeMap": {
"max-age": "600",
"samesite": "None"
},
"warnings": [
"SameSite=None requires Secure in modern browsers.",
"HttpOnly is missing, so JavaScript may read this cookie.",
"Path is omitted, so the browser will derive a default path from the response URL."
]
}
]