Split the string by "|"
<p>Hi I am trying to over come a small issue that I am getting, it seems it will not allow me to split a Cookie</p>

<p>basicly I have a cookie stored that has session|userid</p>

<p>I want to be able to get the session part of that cookie</p>

<p>I have tried everything I now, but seems nothing wants to work.</p>

<pre><code>$this-&gt;stringer = $_COOKIE["_now_Session"];
$array=preg_split('@|@',$this-&gt;stringer); 
</code></pre>
