ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
1. What is the difference between Cache and Session?
2. I cache limited to page like viewstate or it's accessible
through out the application like session?
3. Which one is better when I've some data that is to be
used across the application? Why is to better than the other?
 Question Submitted By :: Srikanth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 1. What is the difference between Cache and Session? 2. I cache limited to page like viewstate or it's accessible through out the application like session? 3. Which one is better when I've some data that is to be used across the application? Why is to better than the other?
Answer
# 1
1.
A. Sessions may not improve performance whereas Cache will
improve site performance.

B. Sessions may change from user to user whereas a single
Cache will be maintained for the entire application.

C. Cache wont maintain any state, whereas Sessions will
maintain separate state for every user.

2.
Yes Cache is accessible through out entire application
3.
Application beacuse application object is share by entire
application.
 
Is This Answer Correct ?    2 Yes 1 No
Praveen Singh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Is overloading possible in web services? Microsoft2
WHAT IS BOXING? HOW WE CAN USE IT? Seion-Infotech4
Types of store procedure in Sqlserver?  2
What is the difference between session state and session variables ? Digital-GlobalSoft4
In try catch blocks one is normal catch block and another is sqlcatchexception block Microsoft3
what is the differance between native code & managed code?  5
What type of code (server or client) is found in a Code-Behind class?  1
You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load? INDUS14
How many web.config files in each solution General-Mills9
Difference between asp and asp.net ? Accenture3
One Listbox showing all cities. If you select one city in list box the information related to that particular city should be displayed in Datagrid . How do you do that? HCL3
How can you assign styles to webforms? Microsoft2
Explain Factory pattern? Microsoft1
When during the page processing cycle is ViewState available?  1
About friend and Protected friend ? MMTS3
What is the other method, other than GET and POST, in ASP.NET?  3
Which of the following hosts Can't be used to create .net Application? a) IIS b) Internet Explorer c) ASP.Net d) Windows Shell Which one is correct? CTS1
Describe the difference between inline and code behind.  2
What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable Syntax-Softtech2
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com