You need to sign in to do that
Don't have an account?
Lalitha Pavani Rallabandi 13
How to generate unique Session ID in JavaScript
Hi,
How to generate a unique session ID when the user login and logout from the sites login page
How to generate a unique session ID when the user login and logout from the sites login page
Have you tried checking the below trailhead link that has an implementation of creating a session in web components,
Can you try checking it:
>>https://trailhead.salesforce.com/en/content/learn/projects/build-your-first-app-with-lightning-web-components-open-source/create-the-session-details-web-component
I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be used by others in the future.
Regards,
Anutej