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 / siva

C Because entire page is stored in output cache. If u stored
in session not only maintain this page, but also sotred all
values in session.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How ASP and ASP.NET page works? Explain about asp.net page life cycle?

1075


What is the page life cycle in asp.net?

1016


What is session and application variable in asp net?

966


What r the asp.net list controls and difference between them?

1091


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

1093


Explain repository pattern in asp.net mvc? : asp.net mvc

1086


How will you do Redo and Undo in a TextControl?

1259


How is application management and maintenance improved in asp.net 2.0?

1038


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

1160


How many types of controls are there in asp.net?

1068


What is ispostback property?

985


What is difference between rest and soap?

1180


Explain how can you debug your .net application?

973


What is a session in asp.net?

1101


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6720