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 r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1

1 Answers  


Explain one critical mapping?

0 Answers  


What is .NetFramework?

1 Answers   Syntel,


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

0 Answers   Sans Pareil IT Services,


Where is session data stored in asp net?

0 Answers  


in which protocol ASP.NET WEB API Work?

0 Answers   HCL,


Explain managed code an un-managed code.

0 Answers  


How many Controls present in Asp dot net?

7 Answers   TCS,


How would one do a deep copy in .NET?

6 Answers   TCS,


What are the intrinsic objects present in ASP.NET

1 Answers   IBM,


What is shadowing?

2 Answers   Syntax Softtech,


Explain the differences between Server-side and Client-side code?

3 Answers  


Categories