Check this... |
| santhosh kapa replied to shreya verma at 12-May-08 01:14 |
I suppose you might require this information in other places too..
Hence, store this information in session while you are logggin in..
ie
Session.Add('LoginUser'Type') = "User" / "Officer"
After logging in check this...and redirect to appropriate page
if(Session.Item["LoginUserType"].ToString() == "User")
Response.Redirect("UserPage.aspx")
else
Response.Redirect("OfficerPage.aspx") |
|