How to authenticate users using Web.Config ?

Answer Posted / chinnu

in web.config file we can specify the authentication mode

<authentication mode="windows/forms">

for form autentication we can wirte like this
<authentication mode="forms">
<form name="a.aspx" loginurl="login.aspx"
time out="30" protection ="all">

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you debug your.net application?

640


How to disable disable browser's Back button in asp.net (JavaScript)?

677


How asynchronous call can be implemented using delegates?

647


What is odata in web api?

668


Define a multilingual website?

619






Explain the components of web form in asp.net

642


What is the state management in asp.net?

644


What is the use of service provider?

657


Define the steps to set up validation control.

654


What is different authentication mechanisms used in ASP.NET?

679


Explain the advantages of asp.net.

626


What is the difference between debug and release?

610


What is caching? Explain.

638


Can we set which type of comparison we want to perform by the CompareValidator control?

610


Define xmlvalidatingreader class.

649