Pre render send cookies #714

Closed
opened 2025-08-09 17:17:23 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jeinz11 on 5/28/2017

Hi just wondering if there is a way to send the cookie
during SSR. i notice that in the first run all cookies and identities are empty

is there a way to specify the cookie in this method

        var prerenderResult = await Prerenderer.RenderToString(
            "/",
            nodeServices,
            new JavaScriptModuleExport(applicationBasePath + "/ClientApp/dist/boot-server"),
            unencodedAbsoluteUrl,
            unencodedPathAndQuery,
            transferData,
            30000
        );
*Originally created by @jeinz11 on 5/28/2017* Hi just wondering if there is a way to send the cookie during SSR. i notice that in the first run all cookies and identities are empty is there a way to specify the cookie in this method var prerenderResult = await Prerenderer.RenderToString( "/", nodeServices, new JavaScriptModuleExport(applicationBasePath + "/ClientApp/dist/boot-server"), unencodedAbsoluteUrl, unencodedPathAndQuery, transferData, 30000 );
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#714
No description provided.