Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / pooja shukla

D

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a multilingual website?

1020


What is a proxy in web service?

1111


What is the use of HttpHandlers? When to use this?

1145


Can we store object in viewstate?

1018


What are the differences between clr & cts?

1132


Why is global asax is used for?

1132


Can you explain composite pattern?

1096


What does the hotspot class in .net do?

1045


What are the different types of sessions in asp.net?

1005


A Web Service Can Only Be Written In .net. Is it True??

1114


What is simple data binding?

1004


How can you handle exceptions in asp.net?

1109


How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

1102


How can I configure asp.net applications that are running on a remote machine?

1103


How do I publish my asp.net application to my isp's web server?

1125