How to create session id after login is validated

I am working on creating a login page for the dashboard which I have created in Node Red. As of now I am able to validate the user name and password entered by user against the data stored in database. But after validating the login credentials I want to create a session ID. This session ID I would want to check if it exist before loading the application dashboards.

I am stuck in creating session id, validating session id before page and also delete session id after user logs out. It will be of great help if some one can help resolve above issues.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.