© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Cookie based sessions without storing it in DB - Better Auth
BA
Better Auth
•
13mo ago
•
1 reply
arpitBhalla
Cookie based sessions without storing it in DB
Hi
, is there any way I can just keep the session in cookie
, I don
't need to store the session
.
https://authjs.dev/concepts/session-strategies#jwt-session
Auth.js | Session Strategies
Authentication for the Web
Recent Announcements
Similar Threads
Storing sessions in db, but use secondary storage for active sessions, doesn't revoke properly
BA
Better Auth / help
2mo ago
lambda + cookie storage + stateless mode (no db) + social sign in
BA
Better Auth / help
3mo ago
Authentication without access to DB
BA
Better Auth / help
10mo ago
How the expired sessions were deleted from DB
BA
Better Auth / help
13mo ago