+ Start a Discussion
Lalitha Pavani Rallabandi 13Lalitha Pavani Rallabandi 13 

How to generate unique Session ID in JavaScript

How to generate a unique session ID when the user login and logout from the sites login page
ANUTEJANUTEJ (Salesforce Developers) 
Hi Lalitha,

Have you tried checking the below trailhead link that has an implementation of creating a session in web components,

Can you try checking it:


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.