You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ttl - time-to-live in milliseconds. Defaults to null (session time-life - cookies are deleted when the browser is closed).
so I would have expected to be able to set ttl explicitly to null (like in this example taken from the tutorial):
server.state('data', { ttl: null, .... });
but this throws the error
[1] ttl must be a number
(at Object.exports.assert (..../hoek/lib/index.js:425:11) at Object.exports.assert (..../lib/schema.js:15:10) at internals.Server.state (..../lib/server.js:481:16)
The text was updated successfully, but these errors were encountered:
From the server.state API Reference:
so I would have expected to be able to set ttl explicitly to null (like in this example taken from the tutorial):
server.state('data', { ttl: null, .... });
but this throws the error
[1] ttl must be a number
(at Object.exports.assert (..../hoek/lib/index.js:425:11) at Object.exports.assert (..../lib/schema.js:15:10) at internals.Server.state (..../lib/server.js:481:16)
The text was updated successfully, but these errors were encountered: