Skip to content

SSR only keeps the last cookie set #2547

Closed
@gregory-latinier

Description

Software version

Quasar: 0.17.10
OS: Windows_NT(10.0.16299) - win32/x64
Node: 8.11.3
NPM: 5.6.0
Browsers: Chrome

What did you get as the error?

When setting 2 cookies during SSR only the last one is kept.
See

ssr.res.setHeader('Set-Cookie', cookie)

What were you expecting?

All the cookies added are kept

What steps did you take, to get the error?

cookies.set('value1', value1, { expires: 365 })
cookies.set('value2', value2, { expires: 365 }) 

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions