title: Why doesn't this page redirect work in IE?
body: <p>I check for a session variable in my asp.net page and redirect to my default page.</p>
  
  <pre><code> if (Session["OrgId"] != null)
     {
         // some logic
     }
   else
     {
               Response.Redirect("../Default.aspx?Sid=1", false);
     }
  </code></pre>
  
  <p>and in my default.aspx page i ve done this,</p>
  
  <pre><code>Int64 id = GetId(Request.RawUrl.ToString());
    if (id == 1)
   {
      // I ll show "Session Expired"
   }
  
  public Int64 GetId(string url)
  {
      Int64 id = 0;
      if (url.Contains("="))
      {
          if (url.Length &gt; url.Substring(url.LastIndexOf("=")).Length)
          {
              id = Convert.ToInt64(url.Substring(url.LastIndexOf("=") + 1));
          }
      }
      return id;
  }
  </code></pre>
  
  <p>This works in googlechrome,firefox but not in IE. "Operation aborted" exception.</p>