Hello,
The function ( CurrentUserID() ) available in Auto-Update Value property for fields when used does not yield expected value if the php code is executed on Linux/Apache. I am using Ubuntu in this particular case.
I have configured the Security to use Existing Table and in Advanced Security I have configured the UserID field to be BranchID which is not the user tables primary and index field the primary indexed field is UserID.
So using CurrentUserID() function returns the value of the field BranchID. This works perfectly on windows in XAMPP configuration but if the code is transferred to Ubuntu and executed there (again I am using XAMPP here also), it returns -1.
What must be the problem?
TIA
Yogi Yang