How to obtain current session user, after api_security.login ? |
Hi Dusan, The api_security API does not provide such a function but you can use api_session.add API to add the current user to the session as a session parameter once the login is successful. Then in your code, you can retrieve the current user using the api_session.getValueTx API whenever you need. Kind Regarda, Thx Yalim.
(10 Jun '14, 02:19)
ddjuric
|
Hi Yalim, I want to audit table changes using current user id.
Tables are in the " Can I get a session value in this case?
|
Hi Andrew, I haven't tried this myself but I cannot think of a reason why this wouldn't work. I can think of two issues though: 1. The parameter you are getting might not be of type Number. 2. You might have more than one Formspider installation in your database and, APP_UI and APP_DB schemas are pointing to different ones. Hope this helps. Kind Regards, |