Hi, I wrote a small app with just one login page and use forms authentication for this. I wrote a small LDAP Authentication class which works great, didn't want the asp provider for it.... My question: All users should be directed to page x after successfully logged in. One special user should be redirected to an other page (kind of admin page) but the authentication is the same. What's the right way to do this in asp.net ? It's not necessary that this special user should be able to login to page x too !
I just thought of redirecting the user in the page x load event like this :
if (Context.User.Identity.Name.Equals(ConfigurationManager.AppSettings["SpecialUser"]))
Response.Redirect(@"..\Admin\Admin_Page.aspx");
but than the logout procedure doesn't work the right way, i use be ...
Go to the complete details ...