Cookie with a path specified is not set via javascript
<p>I have a local host called "myproject". When i try to set a cookie for resource "myproject/someresource" like this:</p>

<pre><code>document.cookie = "mycookie=somevalue; path=/someresource";
</code></pre>

<p>IE does not set this cookie. But it does if i do not use path parameter:</p>

<pre><code>document.cookie = "mycookie=somevalue";
</code></pre>

<p>What am i doing wrong?</p>
