I authenticate server-side with express.session
. The normal way of communicating that session information client-side is to rerender the page with new HTML generated server-side, but this requires a reload.
I have a one page app and want to avoid reloading. Is there a way to access information about the connected user client-side? Is this information stored in a cookie? How can I access it without reloading the page or making an extra server request?
express.session
. – Resinoid