i'm trying to assign session values but the name of the session would be assigned by a variable
for instance:
$sessionName = "user";
$_Session[$sessionName] = "matt";
therefore, $_Session["user"] = "matt";
unfortunately, using that syntax, when i try to echo the session value, i get "Object" as the return.
any suggestions on where i'm wrong here?