Skip to content

How to set a json string as a cookie? #63

@BijeshNair

Description

@BijeshNair

How can we set a json string as a cookie. When attempted to do so it throws an error saying

Exception: FormatException: Invalid character in cookie value, code unit: '34' (at character 2)
{"someKey":"someValue"}
 ^

So it's not liking " in it's value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions