There is a session variable for username and event the user full name. However, what is the best solution if I would like to store the Users Record Number instead.
I tried to add a session variable on the After successful login event.
function AfterSuccessfulLogin($username, $password, $data)
{
$_SESSION["UID"] = $data["UserID"];
}
The table I have uses UserID which is a unique autonumber and set as an int.
I would like to store the user record number on an Add Record form.