I am trying to integrate two PHP scripts (app1, app2) and I am trying to get session data from app1 in app2.
The problem is when I am trying to unserialize
the session data from app1 I am getting a small ton of errors because PHP is trying to find the __wakeup()
function for each of the objects.
I can't use the unserialize_callback_func
fix because app2 use it so its already set and can't be changed.
I don't need any data in the objects, is there some-way I can just remove the objects so they wont cause any problems?