I am trying to get session variables to work and I can't get [Orgid] => USAFC21 to default.
I did a snippet with this print_r ($_SESSION);
this is my return
po_add.php [UserID] => Aaron Easton [UserName] => Aaron Lee Easton [GroupID] => -2 [AccessLevel] => User [UserData] => Array ( [ID] => 139 [username] => Aaron Easton [password] => xxxxxxx [email] => aaron.easton@xxxx [fullname] => Aaron Lee Easton [groupid] => -2 [active] => 1 [Region] => TX [Location] => [Postion] => Site Supervisor [LocationID] => 1,2,3,4,5,6,7,8,10,11,12,13,16,17,18,19,20,24,27 [SingleLocationID] => [Program] => 2 [PrPrefix] => CLS [PoPrefix] => CLS [Orgid] => USAFC21 )
After Successful Login
{
$_SESSION["Orgid"] = $data["Orgid"];
}
It returns zero!