How will you redirect to the home page after the user has been authentication in Forms Authentication ?

Thursday, July 30, 2009


You can redirect to the home page after the user has been authentication in Forms Authentication using the method,

FormsAuthentication.RedirectFromLoginPage(strUserName,false);


www.codecollege.NET

What is the name of the Authentication method used in Forms Authentication ?


FormsAuthentication.Authenticate(strUserName,strPassword);


www.codecollege.NET

What is the name of the default cookie used for Forms Authentication ?


.ASPXAUTH


www.codecollege.NET

What is the name of the method that is used to validate a user in ASP.NET Membership provider ?


The name of the method that is used to validate a user in ASP.NET Membership provider is,
Membership.ValidateUser(strUserName,strPassword);


www.codecollege.NET

What is the use of ASP.NET Membership provider?


Using ASP.NET Membership provider you can do the following operations,
1. Create New users
2. Delete users
3. Update users
4. Retrieve user list and details
5. Validate user credentials



www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books