title: Is there any way we can access localStorage and stored cookie and pathname in next js server side rendering?
body: <p>I wanted to use either localStorage or cookies in SSR of next js. as window object is not available in SSR how I can access it?</p>