Phprunner 9.8 Build 31882 x64
I have a project 1 with After successful login Event :
$_SESSION["FirstName"] = $data["FirstName"];
$_SESSION["LastName"] = $data["LastName"];
$_SESSION["UserName"] = $data["FirstName"].' '.$data["LastName"]
I have a table with Employee Field
I have Employee Field as Readonly and default value is
$_SESSION["FirstName"] . " " . $_SESSION["LastName"]
This does not show in Add page with the above as default or save the record with the Employee field ( blank ) . I have another project 2 same build and the above works fine.
As a workaround I changed newer project to use $_SESSION["UserName"] name works fine, but I am puzzled as to why this does not work in Project 1 as they are identical projects . Just 1 is live and the other is a demo . Same Server different domain vps.
Any Ideas out there for future reference?
I have a project 1 with After successful login Event :
$_SESSION["FirstName"] = $data["FirstName"];
$_SESSION["LastName"] = $data["LastName"];
$_SESSION["UserName"] = $data["FirstName"].' '.$data["LastName"]
I have a table with Employee Field
I have Employee Field as Readonly and default value is
$_SESSION["FirstName"] . " " . $_SESSION["LastName"]
This does not show in Add page with the above as default or save the record with the Employee field ( blank ) . I have another project 2 same build and the above works fine.
As a workaround I changed newer project to use $_SESSION["UserName"] name works fine, but I am puzzled as to why this does not work in Project 1 as they are identical projects . Just 1 is live and the other is a demo . Same Server different domain vps.
Any Ideas out there for future reference?