Hi ,
I have deon the login page with the 3 level of security, 1 User, 2 Manager,3 Admin. For Admin and Manager am keeping same screen(Default.aspx), But for User i want to maintain the another page(Default1.aspx). Here i have attached the Source code for Login page, But it is working only for Admin and Manager only , it means it is opening only Default.aspx page . For user also it is opening same page. can any one please tell me how to open the another page(Default1.aspx) for user login. I have attached my code in this forum.
Am waiting for your mail.
This is the code:
namespace
{
//
// Filename: Login.cs
//-------------------------------
//Login CustomIncludes begin
}
// Login CustomIncludes end
args.IsValid=
//===============================
// Login Show begin
Utility=
// Login Open Event begin
// Login Open Event end
// Login OpenAnyPage Event begin
// Login OpenAnyPage Event end
Login_logged =
Page_Show(sender, e);
InitializeComponent();
Login_Show();
// Login Show end
/*===============================
Display Login Form
-------------------------------*/
protected
void
// Login BeforeShow Event begin
// Login BeforeShow Event end
Login_login.Text =
Login_trpassword.Visible =
Login_trname.Visible =
Login_labelname.Visible =
Login_labelname.Text = Utility.Dlookup(
// Login Close Event begin
// Login Close Event end
// Login OnLogout Event begin
// Login OnLogout Event end
Session[
// Login OnLogin Event begin
// Login OnLogin Event end
Login_message.Visible =
Response.Redirect(sPage +
Response.Redirect(Login_FormAction);
// End of Login form