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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is manifest in .net framework?

797


Which namespace is used by ado.net?

769


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

760


Can user control be stored in library?

719


What is the purpose of using MVC programming pattern in ASP.NET?

804


What is asp.net architecture?

785


What is dynamic web page with example?

749


Explain the difference between array and linkedlist?

754


To wrap up a call to a Web service the standard used is..?

769


what is meant by sitemapnode ?

1777


Where do we store our connection string in asp.net application?

776


What are HTTP handlers in ASP.NET?

807


How do you deploy your asp.net application?

809


Explain one critical mapping?

803


Explain code snippet to register exception filters from controller?

843