Skip to content

Instantly share code, notes, and snippets.

@dineshbalaji
Created April 14, 2019 03:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dineshbalaji/607d166f0240f932a5cb02099b0ece4c to your computer and use it in GitHub Desktop.
Save dineshbalaji/607d166f0240f932a5cb02099b0ece4c to your computer and use it in GitHub Desktop.
@rofrol
Copy link

rofrol commented Aug 13, 2021

  "dependencies": {
    "cookie-parser": "^1.4.5",
    "express": "^4.17.1"
  }

I got this in browser:

normal cookie : {} signed cookie :{"session":false}
normal cookie : {"empid":"420"} signed cookie :{"session":false}
normal cookie : {"empid":"420"} signed cookie :{"session":false,"empName":"dinesh"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment