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   SiteMap shows list of All Categories in this site.
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
web farm .. how does session shuld be stored... if inproc
used? does the session 
persists from one server to other.
 Question Submitted By :: Paritosh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.
Answer
# 1
In case of web farm, we can not have in proc session state. 
Session can not be persist from one server to another. we 
have to use the state server or database for session storage
 
Is This Answer Correct ?    8 Yes 1 No
Mandar
 
  Re: web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.
Answer
# 2
There are 5 session modes as below,

 void Session_Start(object sender, EventArgs e) 
    {
        // Code that runs when a new session is started
        Session.Mode = SessionStateMode.InProc;
        Session.Mode = SessionStateMode.SQLServer;
        Session.Mode = SessionStateMode.StateServer;
        Session.Mode = SessionStateMode.Custom;
        Session.Mode = SessionStateMode.Off;

    }

These 2 session modes should be used :

Session.Mode = SessionStateMode.SQLServer;
Session.Mode = SessionStateMode.StateServer;
 
Is This Answer Correct ?    2 Yes 0 No
Hozefa
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Different type of validation controls in asp.net ? Keane-India-Ltd1
What is the method used to load generated dataset with data on the DataAdapter control ?  3
what is the challenging situation you faced in your career? HP3
How Web Services help Us? What r the difference between Remoting and webservices Protech4
What is the difference between an EXE and a DLL?  6
What is view state and how this can be done and was this there in asp ? Accenture1
what is an Eventbubbling? DSS3
What namespaces are imported by default in ASMX files?  2
Compare and contrast between inline and code behind - which one is best?  1
what is SQL cache Invalidation?  1
what is the assembly?  2
How many types are there session TCS5
What line in the following XML document will generate an error? <?xml version=?1.0?> <employees> <employee> <name>Bob Andcarrol</name> </employee> <employee> <name>Robert Burns</name> </employee> </employees> a) 6 b) 4 c) 1 d) There is no error Syntax-Softtech2
What are the types of assemblies and where can u store them and how a private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein)? Accenture3
Can two different programming languages be mixed in a single ASMX file? Patni1
what is diffrance between response.write & response.output.write CTS4
How many column in table of sql server?  3
What does AspCompat="true" mean and when should I use it?  1
What are the differences between Trace and Debug? Accenture2
About Garbage Collector? Microsoft3
 
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