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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
What is the difference between a session object and cache object
 Question Submitted By :: Kiran
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between a session object and cache object
Answer
# 1
Caching :- used to minimize the DB/Server hit and improves 
Performance.data is available to all users.Can expire 
automatically once duration is specified and untill memory 
is available or expires as application restarts.

Session  :- used to store data specific to user and remains 
untill user loggs off or session expires. usually session 
lasts for 20 minutes(configurable)
 
Is This Answer Correct ?    14 Yes 2 No
Asif Ismail Kunnibhavi
 
  Re: What is the difference between a session object and cache object
Answer
# 2
Session is Global Storage Mechanism accessible from all 
pages in the Web Application.

Cache object allow to place items in server memory so that 
they can be quickly retrieved after the First Requist.
 
Is This Answer Correct ?    2 Yes 2 No
Nitin
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
what is the difference between assemblyinfo and webconfig files?  1
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe  1
What is the namespace used to store the information about the user?s locale?  1
Can session variables be accessed from code-behind? Microsoft2
How to retrieve the information from datatable citywise in c#? HCL2
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format? FutureTech1
What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?  1
How does Garbage collector(GC) works in .net Accenture8
What is the namespace for encryption? Astadia1
How Many types of Page Load functions in asp.net  2
We have 2 sites in which one site allows the user with out asking credentials and second one ask for credentials through a log page. What might be the configurations settings for both sites? We can use IIS and web.config files together. ADITI1
difference between gridview,data list and repeater control Olive-Tech4
You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel Syntax-Softtech2
Why does a user need nothing more than a Web browser to view ASP.NET pages?  1
relacement of websevices in .net 3.0? Mind-Tree1
how can you handle "control is not part of this page " error? FactorH3
Have you used microsoft dataaccess blocks and Exception blocks? Microsoft1
Does the following statement executes successfully: Response.Write(?value of i = ? + i); TCS4
How to convert a string into an Integer in ASP.net?  6
Best Institute in india for online training (Dotnet/java/Tibco/Dwh/etc.....)  3
 
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