Yep, that fixed it. Moving my data fetch from get...
# support-questions-legacy
u
Yep, that fixed it. Moving my data fetch from getServerSideProps into a useEffect in the default function causes the cookies to be sent over and the session to be available.
r
Hey @[BR1]Sky So is the issue fixed?
We also have a page about how to do session management in getServerSideProps page. But that only works as long as your apiDomain and websiteDomain values are the same
u
Hi @rp_st thanks for the response, and great package and docs. Much appreciated. Yep, the issue is fixed. You can use my url shortener hobby project if you like, it's up using managed supertokens core now. https://shtl.ink it's usable anonymously, but you can also create an account to have short urls that only you can modify. The api docs are at https://api.shtl.ink/docs. Appreciate you! 🙂
r
great!!