Click to See Complete Forum and Search --> : [RESOLVED] $_SESSION variable


DanielLiljeberg
12-30-2005, 03:02 PM
Hi

I think I tried this along time ago with no result. But I'm now using php5 so I just wanted to check again. Is it possible to post classinstances and arrays to the $_SESSION-array?

devinemke
12-30-2005, 03:15 PM
yes, but if you are passing objects around via sessions you must declare your class definitions first before you call session_start

DanielLiljeberg
12-30-2005, 03:16 PM
Thanx for the info.