Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why SessionID changes in every request in asp.net?

975


What is the difference between page-level caching and fragment caching?

975


What is session id in web application?

1098


Is it possible to migrate visual interdev design-time controls to asp.net?

1053


What is ipostback?

1079


What is the concept of view state in asp.net?

1009


What are the modes of updation in an updatepanel?

972


Is asp.net mvc front end or backend? : Asp.Net MVC

935


What is meant by ispostback in asp net?

1059


What threading model used in asp and asp.net?

1068


what is command line compiler.what are the steps and how it is related to debugging.

1889


Do you know using sql cache invalidation?

1033


What is the difference between “Web.config” and “Machine.Config”?

1139


what is loosely coupled solution? How it can be used?

1020


What is the difference between asp.net and mvc?

1120