S
|
steveh 12/16/2008 |
What I do is save all the relevant fields in session variables in the "After Successful Login" event. |
J
|
Jane 12/16/2008 |
Hi, global $conn; $rs = db_query("select field1, field2 from TableName where Username='".$_SESSION["UserID"]."'",$conn); $data = db_fetch_array($rs); $_SESSION["field1"] = $data["field1"]; $_SESSION["field2"] = $data["field2"]; |
N
|
nbrennan author 12/16/2008 |
Hi, select and save required values in the session variables in the After Successful Login event on the Events tab. Here is a sample:
|
S
|
steveh 12/16/2008 |
Store it in a session variable and then you can reference it from anywhere, check on www.php.net for session variables. |
N
|
nbrennan author 12/16/2008 |
Store it in a session variable and then you can reference it from anywhere, check on www.php.net for session variables.
|