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

Describe session handling in a webfarm?

0 Answers  


What is JIT, what are types of JITS and their purpose ?

3 Answers   Infosys,


Explain the differences between clr & cts?

0 Answers  


what is a .xap file? Explain with an example.

0 Answers  


Why would anyone need to implement their own hashtable or linked list?

0 Answers  


What does the "EnableViewState" property do?

2 Answers  


What is the mvc model?

0 Answers  


What is .net framework and what are the main components of it?

0 Answers  


What does mvc represent in asp.net? : asp.net mvc

0 Answers  


what is view stat how it is use ?

2 Answers   Amazon,


what are the levels of securities need to be considered for the finincial web application?

1 Answers  


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

0 Answers  


Categories