title: session_regenerate_id(): Session object destruction failed, when running site via security scanners?
body: <p>Is this normal, as I have tried two different scanners and they both seem to produce the same errors, so I'm assuming maybe it has to do with the way scanners work - as I don't get these errors when viewing the site normally (the site also functions fine - as expected).</p>
  
  <p>Ofcourse, I could just ignore it and clear the error log (when I've finished scanning my site), but I'm just curious and would like to know why (and if there is a 'fix')?</p>
  
  <p>FYI:</p>
  
  <ul>
  <li><p>When the site is being scanned; I get the same error repeatedly (on pages where <code>session_regenerate_id(true)</code> is included).</p></li>
  <li><p>The scanners which I have tried are both free Firefox Add-ons; 'SQL Inject Me' (by Security Compass) and Websecurify.</p></li>
  <li><p>I'm running these tests on my site (via 'localhost').</p></li>
  <li><p>The sessions are file based.</p></li>
  </ul>