Hi,
Es ist obendrein nicht sinnvoll, dass du den Serialisierungs-Zirkus veranstaltest.
Genau, den veranstaltet der Default-Sessionmechanismus von PHP nämlich schon selber - sonst könnte er ja gar nicht komplexere Datenobjekte in Textform ablegen.
Was du (Frager) da machst, ist also doppelt gemoppelt, und hält in diesem Fall absolut nicht besser.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]