21
Views
6
Comments
Solved
how to hold data in outsystems
Question

Hello team

I need your help,

overall I used my own database and for login, I apply my own validation means.

example- ABC is my table name then only that user login who are present in the ABC table.

come to my requirement is i want to hold username who login in my application throughout the session. so how I can do this?


Rank: #90
Solution

Hi Pratiksha,

There is way where you can hold data accros application.

If you are using Traditional App than you can use session variable and store value in session

If you are using Reactive web/Mobile than you have option of Client varibale 

both are avaiable in data tabs.


Regards

Rahul Sahu

mvp_badge
MVP
Rank: #69

Hello Pratiksha.

Your example request is easy. One of the default attributes of Session is Username.


Don't forget that information on the client-side can be manipulated.

The easier way is to use SessionId (there is a Session extension) and to store everything server-side, away from user interference.

Rank: #90

Hi Pratiksha,

when first time you assign username in this variable ang again you want this username on next screen so you find here.

Open expression or assign variable in client action or client side you can see scopr and find Client varibale


Regards

Rahul