title: The webpage you are viewing is trying to close this window warning in Internet Explorer
body: <p>i have a login page and if login is sucessfull,i open a homepage as popup.In IE 6.0,i dont come across a problem but IE.7.0 shows me an alert "The webpage you are viewing is trying to close this window.Do you want to close the window?".When i add the codes to hinder it,now IE 7.0 doesnt give me alert but IE 6.0 gives same problem.How can i solve this problem?</p>
  
  <pre><code>Dim strScript As String = "&lt;script language= ""javascript""&gt;window.open('" &amp; Class.cls_LU_PARAMETRE.Deger("START_PAGE") &amp; "','" &amp; Now.ToString("ddMMyyyyHHmmss") &amp; "','resizable=1,width=1015,height=700,left=0,top=0,scrollbars=1,status=1');&lt;/script&gt;"
  Me.RegisterStartupScript("start", strScript)
  </code></pre>
  
  <p>I add this code to hinder IE 7.0 warning</p>
  
  <pre><code>Dim s As String
  s = "&lt;script language= ""javascript""&gt;"
  s += " {var oMe = window.self;oMe.open('','_self',''); oMe.close();}"
  s += " &lt;/script&gt;"""
  Me.Page.RegisterStartupScript("close", s)
  
  '******************** 
  </code></pre>