web farm .. how does session shuld be stored... if inproc
used? does the session
persists from one server to other.

Answers were Sorted based on User's Feedback



web farm .. how does session shuld be stored... if inproc used? does the session persists from on..

Answer / mandar

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 ?    16 Yes 2 No

web farm .. how does session shuld be stored... if inproc used? does the session persists from on..

Answer / hozefa

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 ?    12 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

7. Do you have reference list?

4 Answers   CMC, Hotel Jobs, Mannar Company, Qatar Petroleums, Swatz Oils,


How to set the pane area to transparent of a scrollPane component.?

0 Answers   MCN Solutions,


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

0 Answers   HCL,


Elaborate differentiation between Cache and Application?

0 Answers   QuestPond,


Explain the advantages of asp.net.

0 Answers  






Why do we need url encoding?

0 Answers  


Explain advantages of caching?

0 Answers  


What is boxing and unboxing ?

7 Answers   Accenture, Infosys, MedTek,


What is the difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


Difference between singleton and singlecall.

0 Answers  


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

3 Answers   Siebel Systems,


What is a query string in a url?

0 Answers  


Categories