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

What is WCF? Pls Explain clearly with exmple.

3 Answers   HCL, iGate,


Which is the parent class of the ASP.NET server control?

0 Answers   Sans Pareil IT Services,


What methods are fired during the page load? Init()

0 Answers  


Why mvc is better than asp.net? : Asp.Net MVC

0 Answers  


Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?

1 Answers  


Define globalization and localization.

0 Answers  


In asp.net, how can you validate drop down box?

0 Answers   Accenture,


what are debugging types in .net?

2 Answers   ABC, NIIT,


Can you use Web API with ASP.NET Web Form?

0 Answers  


What is State Management in .Net and how many ways are there to maintain a state in .Net?

6 Answers  


What is state management in asp.net with example?

0 Answers  


What is the asp.net mvc folder conventions? : asp.net mvc

0 Answers  


Categories