Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Convention for getting the session and types? - Better Auth
BA
Better Auth
•
14mo ago
•
2 replies
Ted
Convention for getting the session and types?
Hi all
.
So
, firstly
, where should I get the session
, and if so should I then pass it with props to children components which use it
? Or
, should I get the session in each component
.
Secondly
, what is the type for the 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
Multiple Session Types / Customize Options for Individual Sessions
BA
Better Auth / help
11mo ago
Getting session in loader
BA
Better Auth / help
10mo ago
Server session API types don't get inferred for the user additionalFields
BA
Better Auth / help
2mo ago