Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Downside to calling getSession() in SvelteKit hooks? - Better Auth
BA
Better Auth
•
13mo ago
•
3 replies
Cory
Downside to calling getSession() in SvelteKit hooks?
Would there be any waterfalling or downsides to utilizing getSession
(
) in
hooks.server.ts
hooks.server.ts
in SvelteKit
, and then passing down
Session
Session
and
User
User
to locals
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Can't getSession from server-side hooks (SvelteKit)
BA
Better Auth / help
14mo ago
getSession returns/is null in hooks.server.ts (svelte5/sveltekit)
BA
Better Auth / help
12mo ago
Svelte Kit hooks.server.ts getSession not working
BA
Better Auth / help
9mo ago