mkdir not working after rmdir in IE
<p>I am having a strange issue with mkdir in IE9.</p>

<p>I seem to be able to check and create folders using </p>

<pre><code>$temp_main_folder = session_id();
if(!is_dir($temp_main_folder)){ 
    mkdir($temp_main_folder . "/", 0755);
}
</code></pre>

<p>and remove a folder and all files inside the folder using unlink and rmdir.</p>

<p>This works every time with Firefox, Chrome, Safari. The issue is that the first time I run mkdir in IE it works. And the first time I run the rmdir in IE it works. However the next time I try to run mkdir in IE nothing happens. There are no error and I can see the folder being removed. I have to restart IE to get it to work again.</p>

<p>I am running Windows with Apache 2 webserver.</p>
