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

Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form

3 Answers   Syntax Softtech,


Can we change the session timeout in ASP.NET, if yes then how and from where?

7 Answers   L&T,


What is a session government?

0 Answers  


what is the difference between response.write() and response.output.write()?

0 Answers  


1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

0 Answers   TCS,






What are the difference between ASP and ASP.Net?

4 Answers   Accenture, Mphasis,


Tell something about state management in asp.net?

3 Answers   Accenture,


when using personlization, how do you access over setting at runtime?

1 Answers  


Demonstrate Render and PreRender?

0 Answers   QuestPond,


What is http session state?

0 Answers  


What is server redirect?

0 Answers  


How do you deploy your asp.net application?

0 Answers  


Categories