How to authenticate users using Web.Config ?



How to authenticate users using Web.Config ?..

Answer / 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

More ASP.NET Interview Questions

How can we update records in gridview?Is there any appropriate code for it?

0 Answers  


Hi, I am working in a small software company in asp.net platform. I need to know how and what are all the task in asp.net will be assigned for the developers in mnc companies. Thanks in advance.

1 Answers  


Can you explain the importance of finalize method in .net?

0 Answers  


In which event of page cycle is the viewstate available?

0 Answers  


What is xaml? Are xaml file compiled or built on runtime?

0 Answers  






Is it possible to write code in many languages in one asp.net project?

0 Answers  


How do you do Client-side validation in .Net?

0 Answers  


To get the values in two different controls to match which control you use it?

0 Answers   Siebel,


How ASP.NET page works?

0 Answers   MCN Solutions,


In a page u have Web user controls . So what is the order in which the Page life Cycles takes place?

1 Answers  


What is a page life cycle? What are the events in a page life cycle?

0 Answers  


Whats MSIL, and why should my developers need an appreciation of it if at all?

3 Answers   Siebel,


Categories