hapijs / cookie

Cookie authentication plugin
Other
229 stars 100 forks source link

Drop session from cache in examples #170

Closed lboecker closed 6 years ago

mrlannigan commented 6 years ago

Hello @superlukas,

First of all thank you for your contribution! Do you mind providing additional detail surrounding why it's important to include a drop call to the cache?

lboecker commented 6 years ago

The session is dead weight after the user has logged out. Might as well get rid of it. (Unless you explicitly want to keep it around until it expires and your session store deletes it for you.)

mrlannigan commented 6 years ago

Published with v8.0.1

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.