Is there a specific way of passing objects to scripts through the $_SESSION superglobal? I tried myself with the following code:
// SCRIPT 1
$bootleg = new Bootleg('', $info_array);
...
$_SESSION['bootleg'] = $bootleg;
// SCRIPT 2
$bootleg = $_SESSION['bootleg'];
echo $bootleg->title();
That method returns a simple string value, but my page didn't output anything, so I'm inclined to think that you can't, unless there's a workaround? Any info would be great. If it's possible, but more trouble than it's worth, I don't need to be able to do this, it would just make it easier.
If it's a part of PHP5 or something, let me know, because I can't use PHP5 right now until phpBB upgrades their software to work with it. A lot of my code relies on phpBB code. A limitation, I know, but that's where I am.
James