I also posted this today on the Front Page lounge but am re-posting it here as this might be a more appropriate lounge.
I have created a web page on an intranet site that I want to restrict to specific users. The following Select Case seems to work intermitently but appears to fail when new users are added. It is based on the user’s logon user name and will allow authorized users (listed in the case statement ) to see the page but will otherwise display a shell page with a message saying they don’t have access rights.
<% Select Case Request.ServerVariables("LOGON_USER")
Case "ABCUSERNAMEA",_
"ABCUSERNAMEB",_
"ABCUSERNAMEC",_
different code about page and message
Is this select case statement formatted correctly? Is the continuation character _ correct?