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
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 |
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 |
Explain authentication levels in .net ?
What is the full form of asp.net?
What is the difference between a.Equals(b) and a == b?
what is view stat how it is use ?
How to rename a table using sql queries?
Describe and In Process Vs Out of Process component. Which is faster?
What is semantic gap?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
0 Answers Sans Pareil IT Services,
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
What is a server farm in iis?
Features in ASP.NET?
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one