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 is base class of button control in .net?
How many types of cookies are available in asp?
About CLR, reflection and assemblies?
if u r projet consist of 4 people means how can u manage the file
What is the use of ASP.NET routing?
How do you do validations. Whether client-side or server-side validations are better.?
Define machine.config in .net?
What data type does the RangeValidator control support?
what cut off mark for po's,what questions they asked for interview?
Explain About duration in caching technique
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
How u refer webservices?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)