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
Explain global assembly cache.
What is AutoPostback?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Which method do you use to kill explicitly a users session?
What is css and what is it used for?
Explain the steps needed to be performed in order to create an animation in xaml?
What’s the difference between response .redirect and server.transfer?
Using code explain Configuration Management
What is tracing? Where is it used?
What is the difference between Session and response.Redirect?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
Explain asp.net mvc request life cycle? : asp.net mvc
Explain the difference between debug.write and trace.write? When should each be used?
What is full trust in asp.net?