Your ASP.NET application displays sales data on a page. You
want to improve performance by holding the page in memory on
the server for one hour. You want to ensure that the page is
flushed from memory after one hour, and that the page is
re-created when the next request for the page is received.
What should you do?
A . Initialize a new instance of the Cache class in the
Application.Start event handler.
B . Initialize a new instance of the Timer class in the
Page.Load event handler.
C . Set the Duration attribute of the OutputCache directive
in the page.
D . In the Web.config file, set the timeout attribute of the
sessionState element.
Answer Posted / sadanandam
c
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What do you mean by serialize?
How does asp.net page work?
What is Cookies Less Session?
How to find last error which occurred?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What is the use of service provider?
What’s the difference between response .redirect and server.transfer?
Explain asp.net application life cycle?
Define cookie.
How do session tokens work?
what are the Custom controls in asp.net?
Define static function?
Can you dynamically assign a Master Page?
What is use of <% %> in asp.net?
What is difference between web config and global asax?