php - SimpleXMLElement Object to session -


print_r($arrayresult['applicationid']);  $_session['appid']=$arrayresult['applicationid']; 

output:

simplexmlelement object ( [0] => 37170 )  

fatal error: uncaught exception 'exception' message 'serialization of 'simplexmlelement' not allowed' in [no active file] on line 0

i'm not able put 37170 session variable


Comments