JasperOriginal post
Rank 2: Process
Hi, How could you access the user session in a csr component I need access to the session for handling real time updates.
As the cookie that contains the session secret is http only you cannot access it from JS.
Summary
Developers are looking to access the user session in a CSR component in Next.js for handling real-time updates. The cookie containing the session secret is HTTP only, which makes it inaccessible from JavaScript.