How to authenticate users using Web.Config ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is redux flux?

715


Why do we use asp.net?

777


How long should a session id be?

734


Define static function?

747


What is content place holder?

717


What is the difference between response.redirect and server.transfer?

735


How can we prepairing Interview

2085


What are themes and skins in 2.0, explain usage scenario?

706


Is post back in asp.net?

691


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

719


What is the syntax for datagrid and specifying columns?

2279


Elaborate differentiation between ViewState and SessionState?

837


How are sessions stored?

740


What is the difference between Session and response.Redirect?

861


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

774