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 the difference between client-side and server-side validations in webpages?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
Do cookies store passwords?
Explain how can we inherit a static variable?
How do you declare static variable? What is its lifetime?
In which situation can you not use a viewstate?
What is cross page posting? How is it done?
What is the difference between Classic ASP and ASP.Net?
What is request and response in asp.net?
What role “#&&” plays in a querysting?
Are there resources online with tips on asp to asp.net conversions?
What is a page life cycle?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What is the significance of finalize method in .net?
Please briefly explain the usage of global.asax?