How to useSession with cross sub domain cookies enabled

I would like to get the user's session on the client.

How can i achieve this ?

With my current implementation it doesnt return the session
Was this page helpful?