login code
if (users == 1)
{
Session["Login2"] = txt_username.Value;
Session["Login3"] = txt_pass.Value;
Session["UserTypeID"] = users;
Response.Redirect("AdminOp.aspx");
}
else if (users == 2)
{
Session["Login2"] = txt_username.Value;
Session["Login3"] = txt_pass.Value;
Session["UserTypeID"] = users;
Response.Redirect("upload.aspx");
}
}
catch { Label8.Text = "Incorrect User Name or Password";
}
}
1 is admin and 2 is user when supervsior is login to
their account then he see menu where there is a options
like this this is adminOp.aspx
View Documents
Approve Documents
now when manager is login then how they access
their page and able to see their menu because in above options
there is only supervisor ...what about done this is manager?
Replies
Know the answer? Post it — somebody with the same question will find it here.