3 ms·
Doing regular, boring authentication using user/password just supports logout out of box.
by nextaccountic 6y ago
Doing regular, boring authentication using user/password just supports logout out of box.
- poxrud 6y agoSo regular cookie session based auth? There are drawbacks such as managing session state on the server, and increased latency and cpu load, since you now have to have a db call on every action.
- closeparen 6y agoThe argument is that this DB call, or something much like it, is inherently necessary to support logout. It's not something unnecessary that can be optimized away; getting rid of it entails losing functionality.