title: issue with child application paths
body: <p>I created a new website in IIS called wbsite1. Then I added an application to website1 wich is a website called website2. The problem appeared when we tried to access links in website2. The browser always refers to the root url and redirect so we were trying to change all the urls in website2. For example, if we have a url in website2 like : </p>
  
  <pre><code>&lt;a href='http://localhost:2030/website2/cms/default.aspx...'
  </code></pre>
  
  <p>and we click on that link the browser redirect us to :</p>
  
  <pre><code>http://localhost:2030/website1/default.aspx
  </code></pre>
  
  <p>Why am I getting this behavior? And what is the best workaround to integrate two websites without trying to mess with every link in the website? Thank you very much. </p>
  
  <p><img src="https://i.stack.imgur.com/mhiya.png" alt="enter image description here"> </p>
  
  <p>We are facing troubles <em>when</em> I try to access a page in the child application it redirects to the default page of the main application and gives the error: </p>
  
  <blockquote>
    <p>Session state is not available in this context.</p>
  </blockquote>