title: session_regenerate_id(true) not work
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4345014/close-session-and-start-a-new-one">Close session and start a new one</a>  </p>
  </blockquote>
  
  
  
  <p>I use wampserver2.1 php5.3.3, I found session_regenerate_id(true) not work in my script,document says when I set the parameter 'delete_old_sessions' true, there should be a new sid and all the session variables should be deleted, but the fact is after the function, $_session[abc] is still there. did I misunderstand the function,what is my problem?
  I appreciate if anyone can help me,</p>
  
  <pre><code>&lt;?php
  session_start();
  $_SESSION['abc']=12323;
  session_regenerate_id(true);
  echo $_SESSION['abc'];                  
  ?&gt;
  </code></pre>
  
  <p>I thought it should display none, but it outputs:12323</p>