I'm using @hapi/cookie for the authentication aid @hapi/yar for storing lots of information (e.g. three dozens objects with each having 40-50 properties). (Is it fine?)
How can we help?
After successful login, I'm seeing two cookies in browser's Inspect Element > Application tab. One is for auth and second is for session. When I logout, I've written,
Runtime
Node
Runtime version
v20.12.0
Module version
11.0.2
Used with
@hapi/boom, @hapi/cookie, @hapi/hapi, @hapi/inert, @hapi/vision
Any other relevant information
I'm using
@hapi/cookie
for the authentication aid@hapi/yar
for storing lots of information (e.g. three dozens objects with each having 40-50 properties). (Is it fine?)How can we help?
After successful login, I'm seeing two cookies in browser's Inspect Element > Application tab. One is for auth and second is for session. When I logout, I've written,
This clear the cookie related to auth. But, not one that is used for session. How can I clear that as well? I've added
as
Here,
fields
is the name of session that I've used to save the fields for module. But, still not clearing.