title: Classic ASP VBScript - refresh given page
body: <p>I think that this is something very easy, but I cannot get this to work.</p>
  
  <p>I have a form with a button "Delete". It calls www.mypage.com/adm/ads.asp?del=12.
  So list.asp sees that there is a querystring with del=12 and deletes correspoding item.
  After delete I want to refresh this page (something like Response.Redirect www.mypage.com/adm/ads.asp), so that querystring del=12 disappears.
  I cannot get it working.</p>
  
  <pre><code>If (Request.QueryString("del").Count &gt; 0) Then      
  id = Request.QueryString("del") 
  sql = "delete from Ads where ID = " &amp; id &amp; ""
  on error resume next
  conn.Execute sql   
  If err&lt;&gt;0 then
      Response.Write("Delete error!")
  Else            
      Response.Redirect http://www.mypage.com/adm/ads.asp     
      //Call opener.location.reload()
  End if
  </code></pre>
  
  <p>The page is reloaded, but del doesn't disappear from query string.</p>