J
|
Jane 11/30/2006 |
Larry, function AfterSuccessfulLogin() { //** Custom code **** // put your custom code here global $data; $_SESSION["Investigator"] = $data["Investigator"]; $_SESSION["Room"] = $data["Room"]; $_SESSION["CustomerNo"] = $data["CustomerNo"]; $_SESSION["Email"] = $data["Email"]; $_SESSION["Department"] = $data["Department"]; $_SESSION["CC Expires"] = $data["CC Expires"]; $_SESSION["Phone"] = $data["Phone"]; $_SESSION["PO"] = $data["PO"]; $_SESSION["PO Expires"] = $data["PO Expires"]; //** Redirect to another page **** if ($_SESSION["GroupID"]=="Admin") { header("Location: _OrderForm_add.php"); exit(); } else if ($_SESSION["GroupID"]=="User") { header("Location: _OrderForm_add.php"); exit(); } else if ($_SESSION["GroupID"]=="Airgas") { header("Location: _OrderForm_list2.php"); exit(); } } |
L
|
lawfour author 11/30/2006 |
Well Jane you did it again, another problem solved, I am that much closer to putting my DB into circulation. Larry, you forget to close the brackets: |