Update key to be httpOnly instead of session
This commit is contained in:
parent
42fe27b25b
commit
5b8c4f55e7
1 changed files with 2 additions and 2 deletions
|
@ -377,8 +377,8 @@ with `callback(error, cookies)` on complete.
|
||||||
* `path` String - The path of the cookie. Empty by default if omitted.
|
* `path` String - The path of the cookie. Empty by default if omitted.
|
||||||
* `secure` Boolean - Whether the cookie should be marked as Secure. Defaults to
|
* `secure` Boolean - Whether the cookie should be marked as Secure. Defaults to
|
||||||
false.
|
false.
|
||||||
* `session` Boolean - Whether the cookie should be marked as HTTP only. Defaults
|
* `httpOnly` Boolean - Whether the cookie should be marked as HTTP only.
|
||||||
to false.
|
Defaults to false.
|
||||||
* `expirationDate` Double - The expiration date of the cookie as the number of
|
* `expirationDate` Double - The expiration date of the cookie as the number of
|
||||||
seconds since the UNIX epoch. If omitted then the cookie becomes a session
|
seconds since the UNIX epoch. If omitted then the cookie becomes a session
|
||||||
cookie and will not be retained between sessions.
|
cookie and will not be retained between sessions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue