title: Files Path on Classic Asp
body: <p>I'm new at ASP, and I'm trying to code with a simple tree to organize my code. It is as follows:</p>
  
  <pre><code>-act
     connect.asp
     login.asp
  -db
     database.sql
  -img
     images.files
  -style
     styles.css
  -view
  index.asp
  </code></pre>
  
  <p>For now, on training's sake, my index.asp is a login page, that calls login.asp to actually login the user. Then, that login.asp redirects him back to Index.asp. I am calling the <code>login.asp</code> just fine from my <code>index.asp</code>, because I use HTML to reference it:</p>
  
  <pre><code>&lt;form action="act/login.asp" method="post"&gt;
  </code></pre>
  
  <p>But I can't call <code>index.asp</code> from my <code>login.asp</code>. I have tried</p>
  
  <pre><code>response.redirect(Server.MapPath("../index.asp"))
  </code></pre>
  
  <p>But as I read about MapPath, it does not accept <code>../</code> and when I just <code>Server.MapPath("/")</code> it references the current folder.</p>
  
  <p>How can I navigate through my folders using ASP? I have nothing accept MapPath and it does't work with parent folders.</p>