Skip to content

Question on handling cookies #69

Description

@tawfiknasser

GeekWars/src/handlers.js

Lines 218 to 224 in ec2ffab

const logout = (req, res) => {
if (req.headers.cookie) {
res.writeHead(
200, {
'Set-Cookie': 'udetails=0; Max-Age=0'
}
);

Is this working when you have more than 1 cookie ?

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