Assign Array Of Objects To Session
<p>I got the following:</p>

<pre><code>$_SESSION["content"] = $contentList-&gt;Value;
</code></pre>

<p>Where it assigns an array of objects to the session variable... When I then try to access the array it return 60 elements for example that are the size of the array but the objects in the array are blank... None of the properties in them are set.</p>

<p>Try to access:</p>

<pre><code>$contentList = $_SESSION["content"];
foreach($contentList as $currentContent)
{
    //......
}
</code></pre>
