![]() |
Sergey Kornilov admin 2/8/2011 |
Use AfterSuccessfulLogin event for this purpose. Here is an example: |
![]() |
bbarker author 2/9/2011 |
$_SESSION["FirstName"] = $data["FirstName"];
$_SESSION["FirstName"] = $data["TableName_FirstName"];
|
![]() |
bbarker author 2/9/2011 |
This is what the PHPR Manual says: "...Often you need to save data in session variables for later use. For this purpose you can use AfterSuccessfulLogin event."
|
![]() |
bbarker author 2/9/2011 |
How do I save a table value as a $_SESSION variable from a different table (not the login table) AfterSuccessfulLogin? |
![]() |
Sergey Kornilov admin 2/9/2011 |
You need to run a SQL query in order to retrieve data from another table. Check sample code in "Data Access Layer" section of the manual for more info. |
![]() |
bbarker author 2/9/2011 |
I kind of think that that was what I was asking for in my very first posting... oh, well. |