Contents

 
Home
PHPRunner 6.1 manual
Prev Page Next Page
 
 

Save user data in session variables

 

Often you need to save data from the login table in session variables for later use. For this purpose you can use AfterSuccessfulLogin event.

yellowbulbNote: Change the values listed in red to match your specific needs.

function AfterSuccessfulLogin($username, $password, $data)

{

  $_SESSION["FirstName"] = $data["FirstName"];

}

Then you can use $_SESSION["FirstName"] as default value of any field or in other events.

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)