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 is inheritance and an how it be used, example with an example?

1066


where can i gather the materials for MCP certification

5296


Where is cookie used in asp.net?

1099


How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.

1925


What is the page life cycle in asp.net?

971


What is viewstate in asp net with example?

989


What is ashx file in asp.net?

1063


How many types of Cookies are available in ASP.NET?

1076


Can I tap into other windows livetm services?

987


Why is the standalone environment only useful during the development process?

1832


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

989


How does asp.net page work?

950


Explain an object, class and method.

1000


Which method do you use to kill explicitly a users session?

1053


Explain how do you deploy your asp.net application?

922