Hi folks. i am taking a stab in the dark here:
I run an intranet and on my asp pages i capture the userID of the person visiting my web page, using
<%
Userid=mid(Request.ServerVariables ("LOGON_USER"),5)
%> at the top of my pages
Is there anyway i can use an IF, ELSE function so that if a userID = xxxx then response.redirect to xxxx.asp else response.redirect yyy.asp?
I am thinking something like:
Code:
if ("userid")=ID1, ID2, ID3 then
response.redirect "page1.asp"
else
response.redirect "page2.asp"
end if
All i need is a simple .asp page to redirect the user to another page, based soley on their userid i capture at the top of the page usinf
<%
Userid=mid(Request.ServerVariables ("LOGON_USER"),5)
%>
I need it to look at multiple userid's as shown above ie ID1,ID2 etc
any help?
thanks