can machine.config file orverrides web.config.
For example: if u set session timeout as 30 mins in
web.config file to a particular application and if u set
session timeout as 10 mins in machin.config. what will
happen and which session is set to the appliction?


Answers were Sorted based on User's Feedback



can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in..

Answer / alice

As the Web.Config file defines application level
settings.It'll override the settings of the machine.config
file.So the session timeout as 30 mins defined in web.config
file is set to the application.

Is This Answer Correct ?    36 Yes 2 No

can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in..

Answer / riyaz

webconfig defines configuration for a directory i.e an
application. So it will override the machine config. So in
this case session time out will be 30 mins

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ?

3 Answers   eXensys,


How many webforms are possible on a single webpage?

6 Answers  


Can you explain composite pattern?

0 Answers   QuestPond,


What do you mean by query string?

0 Answers  


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

0 Answers   HCL,






Which is faster viewdata or viewbag?

0 Answers  


How many types of state management are there in asp net?

0 Answers  


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

0 Answers   Siebel Systems,


What do you understand by aggregate dependency?

0 Answers   MindCracker,


What Are Different Types of Debbugers

2 Answers   Accenture, TCS, Wipro,


What are the advantages of passport authentication?

0 Answers  


Types of state management techniques ?

6 Answers   Digital GlobalSoft,


Categories