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

what is the dllhell? why we use the dllhell?

4 Answers  


Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?

3 Answers   HCL, NIIT,


Authentication and Authorization

2 Answers   Syntel,


What is state management in .net?

0 Answers  


if i have a web page, and after the postback i dont to maintain the viewstate. How can we maintain in web application?

4 Answers   CGI,






What are Authentication mechanisms in .Net?

6 Answers   Accenture,


How do you change the session time-out value?

0 Answers   TryTechnicals Pvt Ltd,


what is the difference between response.write() and response.output.write()?

0 Answers  


What is application Object?

0 Answers   Infogain,


What is an imagemap in asp.net?

0 Answers  


What is data binding in asp net?

0 Answers  


what is wpf and wcf in .net explain with an example?

2 Answers  


Categories