Software Engineering Mcqs » ASP.net
Which of the following is true about session in ASP.NET ?

A. The default time interval is 5 minutes
B. Programmers has to take care of delete sessions after configurable timeout interval
C. Asp.net automatically delete sessions after configurable timeout interval
D. None of the above

We have defined one page_load event in aspx page and same page_load event in code behind who will run first ?

A. Page_laod event in aspx page
B. Page_load event in code-behind
C. Both will run simultaneously
D. None of these

What is the base class from which all Web forms inherit ?

A. Page class
B. Master page
C. Session class
D. None of these

If one uses ASP.NET configuration system to restrict access which of the following is TRUE ?

A. The access is restricted only to asp.net files
B. The access is restricted only to static files and non-asp.net resources.
C. Both a and b
D. None of the above

In ASP.NET if one wants to set the focus on a particular control________________?

A. Call focus method
B. Call setcontrol
C. Call setfocus
D. None of the above