hi
My page is not redirecting to Admin_Menu.asp using Response.Redirect method. it enters the security level = 1 but displays back the login page not the Admin_page. But the same thing is working on another computer. this same script works on another computer. my ASP and access mdb database r on the IIS server.
can anyone tell me why its happening
thank you
'Open correct menu page based on user security level
Select Case session("SecurityLvl")
Case 4: If session("SecurityLvl") = 4 Then Response.Redirect "Employee_Menu.asp"
Case 3: If session ("SecurityLvl") = 3 Then Response.Redirect "Mgmt_Menu.asp"
Case 2: If session ("SecurityLvl") = 2 Then Response.Redirect "DataEntry_Menu.asp"
Case 1: If session ("SecurityLvl") = 1 Then Response.Redirect "Admin_Menu.asp"
Case Else: Response.Redirect "Metrics_Logon.asp"
End Select
%>
<!-- #include file="Include_Files/General/Disconnect.inc" -->
My page is not redirecting to Admin_Menu.asp using Response.Redirect method. it enters the security level = 1 but displays back the login page not the Admin_page. But the same thing is working on another computer. this same script works on another computer. my ASP and access mdb database r on the IIS server.
can anyone tell me why its happening
thank you
'Open correct menu page based on user security level
Select Case session("SecurityLvl")
Case 4: If session("SecurityLvl") = 4 Then Response.Redirect "Employee_Menu.asp"
Case 3: If session ("SecurityLvl") = 3 Then Response.Redirect "Mgmt_Menu.asp"
Case 2: If session ("SecurityLvl") = 2 Then Response.Redirect "DataEntry_Menu.asp"
Case 1: If session ("SecurityLvl") = 1 Then Response.Redirect "Admin_Menu.asp"
Case Else: Response.Redirect "Metrics_Logon.asp"
End Select
%>
<!-- #include file="Include_Files/General/Disconnect.inc" -->