I want to pass a username but i dont want it to be shown in the url. I know i can use the get userID form outsytems functions, but in this case i'am using my own database of user. The login page is in the different module from the main page. So currently i could do the login but i cant get the username that logged in. Is there a way to pass the username to the main page module without showing it in the url ? Thank you
Hi Raven,
There are a few ways to do that. You need to store that data and retrieve it, the question is where:
Given the use case, I would go for the client variable possibility, which is actually what OutSystems does by default when you create a Reactive Web App module, like you can see in the image below:
Just create a public client action that returns the client variable name and you will be able to use it on screens from other modules.
Kind Regards,João
NEVER expose a username or userid ;-)
In the other module just call User_GetName and it will return the name of the loged on user.