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 a web server? What are the load limits in it?

0 Answers   Wipro,


In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


With out Web.config can we executes the application?

10 Answers   Valtech,


what is use of web.config?

3 Answers  


What is the use of web.config? Difference between machine.config and Web.config?

5 Answers  


What is the difference between application state and session state in asp net?

0 Answers  


Explain file-based dependency and key-based dependency.

0 Answers   MindCracker,


What are user controls and custom controls ?

1 Answers  


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

0 Answers   Honeywell, Wipro,


What are the action filters available in asp.net mvc

1 Answers   TCS,


What are the disadvantages of asp.net?

0 Answers  


What is caching? Explain.

0 Answers  


Categories