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 |
What event handlers can I include in Global.asax ?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What is the syntax for datagrid and specifying columns?
Explain < @OutputCache% > and the usage of VaryByParam, VaryByHeader ?
what is SQL cache Invalidation?
Give an example appropriate use forweb service as opposed to a non-serviced .NET component
How do you retrieve information from web.config ?
When should we use abtract class and Interface Class?Give an Example
4 Answers Accenture, Cap Gemini, L&T, RM,
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
what is diffrance between response.write & response.output.write
Which class is used to send an email message from an ASP.NET Web page?
0 Answers Sans Pareil IT Services,