In addition to the access for the authorized users, I try to give access for certain pages to other specific users with a specific login (example code below).
To see the specific pages, for each of the created accesses, new users are always asked (once) to unblock the pop-up (for the site).
How can I avoid that question? avoid the popup.
Thanks for tips
To see the specific pages, for each of the created accesses, new users are always asked (once) to unblock the pop-up (for the site).
How can I avoid that question? avoid the popup.
Thanks for tips
Code:
If Request.Form("username")="A" AND Request.Form("password")="B" Then
Session("uid")="AB"
url = "AB.htm"
response.write("<script>" & vbCrLf)
response.write("window.open('" & url & "');" & vbCrLf)
response.write("</script>")
ElseIf Request.Form("username")="Z" AND Request.Form("password")="Y" Then
Session("uid")="ZY"
url = "ZY.htm"
response.write("<script>" & vbCrLf)
response.write("window.open('" & url & "');" & vbCrLf)
response.write("</script>")
ElseIf ... Then
...
response.redirect ...