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 are the attributes of sitemapnode?

3 Answers   Satyam,


What is meant by web application?

0 Answers  


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

0 Answers   Hexaware, Infosys,


Which object encapsulates state or data of a user?

0 Answers  


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

0 Answers  






what is ienumerable interface?

1 Answers  


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

0 Answers  


How does the XmlSerializer work? What ACL permissions does a process using it require?

2 Answers  


Where do the cookie state and session state information be stored?

0 Answers  


What are the main components of the ADO object model? How are they used?

2 Answers   HCL, Syntax Softtech,


What is X-Path?

2 Answers   Sherston,


Why would a company use an application service provider?

0 Answers  


Categories