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

How can we identify that the page is post back in asp net?

0 Answers  


Where is session cookies stored?

0 Answers  


How you will handle session when deploying application in more than a server?

0 Answers  


relacement of websevices in .net 3.0?

1 Answers   Mind Tree,


What are user controls?

0 Answers  


Create the Output by mearging 2 tables and taking common column sid from both you should not use database create table and data in it Randomly table 1 sid sname saddress 1 sa ampt 2 na hyd 3 ha hyd table 2 sid dno dname 1 12 stats 2 23 phy 3 12 stats OutPUt sid sname saddress did dname 1 sa ampt 12 stats 2 na hyd 23 phy 3 ha hyd 12 stats

1 Answers  


What is the difference between ASP Session State and ASP.Net Session State?

0 Answers  


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

0 Answers  


Explain what is event bubbling?

0 Answers  


What is asp.net response object?

0 Answers  


What is content place holder?

0 Answers  


Where is cookie used in asp.net?

0 Answers  


Categories