Hi all,
I'm using a database session handler and am looking to loop through
data residing in the sessions table to make a 'Users online' array.
I've found that using urldecode on the data column gives me a
serialized string of varname|datatyp e:data; for each variable. I'm
having a bit of trouble with deserializing the data.
I could always use regexps to grab the specific data I want, but I'm
sure there's a better way to do this. Any help is greatly appreciated.
Thanks much!
I'm using a database session handler and am looking to loop through
data residing in the sessions table to make a 'Users online' array.
I've found that using urldecode on the data column gives me a
serialized string of varname|datatyp e:data; for each variable. I'm
having a bit of trouble with deserializing the data.
I could always use regexps to grab the specific data I want, but I'm
sure there's a better way to do this. Any help is greatly appreciated.
Thanks much!
Comment