© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
getCookieCache returns null? - Better Auth
BA
Better Auth
•
9mo ago
•
3 replies
Tyler
getCookieCache returns null?
So I am using NextJS
, and have set everything up
. For the most part BetterAuth works awesome
. I want to use the
getCookieCache
getCookieCache
method
, so I enable cookie caching in my auth
.ts
.
However
, when I look at the docs
, and implement the middleware check
, my
getCookieCache
getCookieCache
is always null
, even when there is a session
.
Recent Announcements
Similar Threads
getSessionCookie and getCookieCache always null
BA
Better Auth / help
6mo ago
useSession returns null
BA
Better Auth / help
12mo ago
session always returns null
BA
Better Auth / help
9mo ago
getSession always returns null
BA
Better Auth / help
12mo ago