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
What is difference between datalist and gridview?
How to prepare culture-specific formatting in .net.
Explain the difference between asp and asp.net?
Are cookies stored on server or client?
What is web router?
What are server side controls?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
Explain about the Class view window?
What are the security types in asp.net?
Explain About WebService
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
I’m having some trouble with cas. How can I diagnose my problem?
Explain the difference between value type and reference type?
Which is better viewstate or session?
What is the difference between union and structure?