Kal
05-22-2007, 03:12 PM
Hi guys,
could anyone help out on why the following code doesn't work.
baiscally if the logged on username does not equal to one of the four then redirect.
but the code seem to redirect all the time.
sUsername = ucase(Request.ServerVariables("LOGON_USER"))
response.write sUsername
if ((sUsername <> "bperry") or (sUsername <> "Kal") or (sUsername <> "JPMulholland") or (sUsername <> "steague")) then
Response.Redirect "http://www.google.com"
end if
thanks inadvance
could anyone help out on why the following code doesn't work.
baiscally if the logged on username does not equal to one of the four then redirect.
but the code seem to redirect all the time.
sUsername = ucase(Request.ServerVariables("LOGON_USER"))
response.write sUsername
if ((sUsername <> "bperry") or (sUsername <> "Kal") or (sUsername <> "JPMulholland") or (sUsername <> "steague")) then
Response.Redirect "http://www.google.com"
end if
thanks inadvance