difference between caching objects in session objects?
Answers were Sorted based on User's Feedback
Answer / dhananjeyan
1. Sessions may not improve performance whereas Cache will
improve site performance.
2. Sessions may change from user to user whereas a single
Cache will be maintained for the entire application.
3. Cache wont maintain any state, whereas Sessions will
maintain separate state for every user.
I hope it would help.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / shaily
session object creates for each user indivisually but 1
cach object for one application.
| Is This Answer Correct ? | 8 Yes | 2 No |
What is viewstate parameter?
What is Web Server Control Templates.?
How can we access static variable?
What is the use of response redirect in asp.net?
What is the default Orientation property in a Menu control?
0 Answers Sans Pareil IT Services,
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
How do cookies work?
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
What language does asp.net use?
Define cookie.
Webconfig file is cofiguration of server or browser?
You create an ASP.NET application for a hotel. The application contains a page that displays current weather conditions for the city in which the hotel is located. The application calls an XML Web service every 10 minutes to update the current weather conditions. A new page is then displayed for subsequent requests. You want the same page to be cached and retrieved from the cache during the time between calls to the XML Web service. You decide to use a Page directive to accomplish this goal. Which Page directive should you use? A . <%@ Cache Seconds="600 '' VaryByParam="Page" %> B . <%@ OutputCache Time="600" %> C . <%@ OutputCache Duration="600" VaryByParam="None" %> D . <%@ OutputCache Duration="600" %>
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)