Recommend this page to a friend! |
Classes of Igor Escobar | Terminal Crossword | chat-websocket/node_modules/express/node_modules/cookie/README.md | Download |
|
|
Downloadcookiecookie is a basic cookie parser and serializer. It doesn't make assumptions about how you are going to deal with your cookies. It basically just provides a way to read and write the HTTP cookie headers. See RFC6265 for details about the http header for cookies. how?
moreThe serialize function takes a third parameter, an object, to set cookie options. See the RFC for valid values. path> cookie path expires> absolute expiration date for the cookie (Date object) maxAge> relative max age of the cookie from when the client receives it (seconds) domain> domain for the cookie secure> true or false httpOnly> true or false |