title: PopUp window should not open with copy paste URL
body: <p>I am opening popup window after login process,</p>
  
  <p>Now the requirement that on can't open that particular pop window by copy pasting url in the browser</p>
  
  <p>I  have use this code but it is not working.</p>
  
  <pre><code>    Dim urlcopy As String = ""
      If Request.UrlReferrer IsNot Nothing Then
          urlcopy = Request.UrlReferrer.Segments(Request.UrlReferrer.Segments.Length - 1)
      End If
      If urlcopy = "" Then
          Response.Redirect("~/GenError.aspx") -- reaching here at normal case also
      End If
  </code></pre>