Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
getCookieCache returns null? - Better Auth
BA
Better Auth
•
8mo 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
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
getSessionCookie and getCookieCache always null
BA
Better Auth / help
5mo ago
useSession returns null
BA
Better Auth / help
11mo ago
session always returns null
BA
Better Auth / help
8mo ago
getSession always returns null
BA
Better Auth / help
11mo ago