Url.Content Cookieless Parameter Missing
<p>I have two different MVC applications. They are both using cookieless session states and both use this line to determine the application's root:</p>

<pre><code>var root = '@Url.Content("~/")';
</code></pre>

<p>For some reason one application recognizes the cookieless parameter and provides a proper root url containing the cookie parameter (Something like: /(S(03lyoc2mzcq5cyqqqzgritk2))/). The other application just has the root url as /.</p>

<p>I have found a work around for the application that only provides /:</p>

<pre><code>var root = '@Url.Action("Index", "Home")';
</code></pre>

<p>The application that properly provides the cookieless parameter combines both webforms and MVC. Any ideas on where my inconsistency might be?</p>