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 are the advantages and limitations of query string?
Explain difference between dataset and datareader?
How to use push notification?
what cut off mark for po's,what questions they asked for interview?
To wrap up a call to a Web service the standard used is..?
How to use multiple scriptmanager controls in a web page?
Explain the difference between asp.net mvc and asp.net webforms
How ViewstateMac works?
What is the difference between web config and machine config files?
What is asp.net file?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
Explain server-side scripting?
What is asp according to you?
What are the advantages of asp.net?
What is IPostBack? How to use it?