© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
The returned data type from session on server is incorrect - Better Auth
BA
Better Auth
•
15mo ago
•
2 replies
Bart ⚡
The returned data type from session on server is incorrect
When reading session on the api side
, the dates are returned as date strings
, that
's why some checks
(e
.g
. session freshness
) are not working
(I
'm using Drizzle adapter
)
Similar Threads
Passing down session from the server as initial data
BA
Better Auth / help
5mo ago
Getting session from external server on a different server
BA
Better Auth / help
11mo ago
session data is null despite session cookie
BA
Better Auth / help
9mo ago
How to revalidate session from the server side?
BA
Better Auth / help
4mo ago