php - I cannot pull out $_SESSION values from a named session -
i have named session can call using this
print_r($_session['sessionname']);
it returns following out of session variable.
myclass object ( [mycolumn] => myvalue64 [mycolumn2] => 47 [mycolumn3] => 19 )
however when try echo
mycolumn
this. doesn't display value.
echo $_session['myclass']['mycolumn'];
i'm on php 5.3.3
if helps.
thanks
have tried:
echo $_session->mycolumn
or in case
echo $_session['sessionname']->mycolumn
Comments
Post a Comment