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

What does ascx stand for?

890


Explain how cookies work. Give an example of cookie abuse.

1054


what is a .xap file? Explain with an example.

974


Explain the role of global.asax?

933


Is sql backend or frontend?

964


Explain security types in asp.net?

1041


What are the various types of cookies in asp.net?

974


What is a SESSION and APPLICATION object?

990


Is viewstate enabled by default?

914


What is enableviewstate?

905


Why asp.net is better than php?

925


Where is asp.net view state stored?

953


What is autopost?

928


Why asp.net mvc is better than asp.net? : Asp.Net MVC

1037


What is sql data source control in asp.net?

1008