|
INTERVIEW QUESTIONS
MICROSOFT
ASP.NET
DETAILS
Question: Describe session handling in a webfarm, how does it work and what are the limits?
Answer: Set the sessionState mode in the web.config file to “StateServer”. StateServer mode uses an out-of-process Windows NT Server to store state information. It solves the session state loss problem in InProc mode. Allows a webfarm to store session on a central server. It provides a Single point of failure at the State Server.
Follow these simple steps: - In a web farm, make sure you have the same in all your web servers. - Also, make sure your objects are serializable. - For session state to be maintained across different web servers in the web farm, the Application Path of the website in the IIS Metabase should be identical in all the web servers in the web farm.
|
|
|
Category |
ASP.NET Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8153 users |
Added on |
9/17/2014 |
Views |
66344 |
Rate it! |
|
|
Question:
Describe session handling in a webfarm, how does it work and what are the limits?
Answer:
Set the sessionState mode in the web.config file to “StateServer”. StateServer mode uses an out-of-process Windows NT Server to store state information. It solves the session state loss problem in InProc mode. Allows a webfarm to store session on a central server. It provides a Single point of failure at the State Server.
Follow these simple steps: - In a web farm, make sure you have the same in all your web servers. - Also, make sure your objects are serializable. - For session state to be maintained across different web servers in the web farm, the Application Path of the website in the IIS Metabase should be identical in all the web servers in the web farm. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How many classes can a single .NET DLL contain?
|
View Answer
|
|
True or False: To test a Web service you must create a windows application or Web application to consume this service?
|
View Answer
|
|
Which control would you use if you needed to make sure the values in two different controls matched?
|
View Answer
|
|
What tags do you need to add within the asp:datagrid tags to bind columns manually?
|
View Answer
|
|
Where on the Internet would you look for Web services?
|
View Answer
|
|
What does WSDL stand for?
|
View Answer
|
|
True or False: A Web service can only be written in .NET.?
|
View Answer
|
|
What is the transport protocol you use to call a Web service?
|
View Answer
|
|
Which method do you use to redirect the user to another page without performing a round trip to the client?
|
View Answer
|
|
How do you create a permanent cookie?
|
View Answer
|
|
Which two properties are on every validation control?
|
View Answer
|
|
How do you turn off cookies for one page in your site?
|
View Answer
|
|
What method do you use to explicitly kill a user’s session?
|
View Answer
|
|
What base class do all Web Forms inherit from?
|
View Answer
|
|
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
|
View Answer
|
|
How can you provide an alternating color scheme in a Repeater control?
|
View Answer
|
|
Which template must you provide, in order to display data in a Repeater control?
|
View Answer
|
|
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
|
View Answer
|
|
In what order do the events of an ASPX page execute. As a developer is it important to understand these events?
|
View Answer
|
|
Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one?
|
View Answer
|