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

Difference between Array and ArrayList? How Array is benifitful than ArrayList?

3 Answers   Tech Mahindra,


What is a WebService and what is the underlying protocol used in it? Namespace?

1 Answers  


what is the requirement that .Net web services can access the java application?

6 Answers   iSoft,


ADO.Net - how to get data from database and bind to the controls -- write this small code

3 Answers   Syntel,


Can you explain what inheritance is and give an example of when you might use it?

1 Answers  






What is the Difference B/W Finalize() and Dispose() in .Net?

12 Answers   HCL, IBM,


What are the various authentication mechanisms in ASP.NET ?

1 Answers   Digital GlobalSoft, Satyam,


what is difference between java and .net

11 Answers   Karur Vysya Bank KVB, Base2 Infotech, TATA AIG, TCC,


Which institute provide good Project training on .Net technologies in hyd?

5 Answers  


best .net institute in hyderabad

7 Answers  


different architectures of asp.net?

1 Answers  


How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.

3 Answers   Phoenix Technologies, Consagous,






Categories