What are Sticky Sessions?
Answers were Sorted based on User's Feedback
Answer / venky
Sticky sessions work with the load balancer to improve
efficiency of Persistent Sessions in a clustered configuration.
In a clustered configuration, the load balancer sends
requests to multiple backend Resin servers. Each session has
an owning Resin server and a backup Resin server. The load
balancer will send a session's request to the owning server
or to the backup if the owning server is not available. The
association of a session with a backend server is called
"sticky sessions".
Because the load balancing occurs before any interpretation
of the Virtual Host or Web Application, it's a <server>
configuration variable, with the <session-cookie> directive.
Sticky sessions encodes the session cookie with the owning
server. The encoding using a simple prefix value. 'a' refers
to the first server in the cluster, 'b' refers to the second
server, ..., 'z' refers to the 26th server.
So the session cookie JSESSIONID=cnn8x02mPph_4sOKlbn would
go to the third server, 192.168.0.12 in the following
configuration
<cluster>
<srun id="a" host="192.168.0.10" port="6802"/>
<srun id="b" host="192.168.0.11" port="6803"/>
<srun id="c" host="192.168.0.12" port="6803"/>
</cluster>
Is This Answer Correct ? | 5 Yes | 1 No |
Can you explain what inheritance is and an example of when you might use it?
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
0 Answers Sans Pareil IT Services,
Asp.net - How to find last error which occurred?
Whats an assembly?
Can we use a static function with a non-static variable?
What is sdlc process?
What is the difference between asp.net and mvc?
To load your generated dataset with data which method do you invoke?
How you will manage the state of ASP.NET controls?
0 Answers Sans Pareil IT Services,
You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.
Explain method to handle error using HttpError in Web API?
Can we use html in asp.net?