Session Variables is an important feature in the Kuika platform that enables temporary storage of data. It can be used to securely hold and manage user session information. These variables allow you to personalize the user experience by storing information such as user ID, session state, preferred language. In web applications, it ensures that data is protected throughout the application lifecycle.
The content of this course consists of the following topics:
Fill in the fields in the modal as follows:
Add a new variable by clicking the ADD button and save it with the SAVE button.
SELECT CAST(SESSION_CONTEXT(N'user_id') AS NVARCHAR(100)) AS UserName;
This method ensures that the Session Variable is processed with the correct data type.
To test the defined SQL Action:
By following these steps, you can use Session Variables effectively in your applications.