Session Plugin
The "Session Plugin" allows you to memorize the user's data stored in the session and effortlessly manage and manipulate other data within your application until the user logs out. These parameters can be passwords, tokens, IDs, and other information.
As users interact with your application, the plugin stores and manages essential data, ensuring a smooth and personalized user experience.
How to Use?
Simply drag and access the plugin interface, where you can define and assign parameters based on your application's requirements. Configure the plugin and save your configurations.
Let's glance at which utility (method) to understand when and where to use.
Session Exist: Use this method to keep track of logged-in users' details, maintaining their session data to provide a personalized experience without constant re-authentication.
Set parameters: Use this method to tell the plugin to store a specific parameter by defining the parameter name and value.
Get Parameters: Use this method to retrieve the set parameters using the parameter name to utilize them across the APIs involved in your application.
Get UserName: Use this method to retrieve the logged-in user's username.
Get UserId: Use this utility to retrieve the logged-in user's user ID.
When you are dealing with the "Set" methods, specify the data type, value type, and value in the Input Configuration tab. When you are dealing with the "Get" method, specify the data type in the Output Configuration tab.
Note: By default, the plugin memorizes the user's data stored in the session. Any additional parameters you want the plugin to remember can be specified using the SET method and retrieved using the GET method.
Last updated