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

c

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session start?

934


Explain the difference between panel and groupbox classes using .net?

939


How to implement form based authentication in asp.net application?

1076


Who can consume WebAPI?

961


Can we use MSSql as backend in asp.net...if yes then How.?

1010


In which event of the page life cycle, is the viewstate available?

937


What is application Object?

1005


Explain the flow of processing of the request? : asp.net mvc

949


Why session is used in asp.net?

994


What is the difference between Session and response.Redirect?

1107


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

919


How to send a DataReader as a parameter to a remote client ?

3348


What is an il?

973


What is server redirect?

957


When maintaining session through sql server, what is the impact of read and write operation on session objects?

952