Contents

 
Home
PHPRunner 8.0 manual
Prev Page Next Page
 
 

Event: AfterSuccessfulLogin

 

Description

Function AfterSuccessfulLogin is executed on the login page after username and password successfully verified.

Syntax

AfterSuccessfulLogin($username,$password,$data)

Arguments

$username - user-entered login name.

$password - user-entered password.

$data - array with existing user record in the login table. Access fields by $data["FieldName"].

Field names are case-sensitive. If the field name is PlayerId, you should use $data["PlayerId"]. Note that $data["playerid"] or $data["PlayerID"] will not work.

Applies to pages

Login

Recommended predefined actions and sample events

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

Save user data in session variables

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