What is sticky session? How can i implement this solution?.
Can u please describe it with sample code or please post
sample code how to implement sticky session.
Is this best solution in clustered environment?.What is sticky session?
A ''sticky session'' is where a user is always sent to the same
physical server as he pages through the Web site. This is usually
done at the router or switch layer, and it keeps the session
variables of the user available. One alternative is to use client
variables and a database as the client variable repository.What is sticky session?
What is sticky session?
You may decide, for example, that your application is going
to be receiving heavy traffic loads. You would then run it on each
of two or more servers. If one is overloaded or cannot handle a new
session for any reason, Coldfusion then directs the request to a
server that can. Such servers are said to form a cluster.
'Sticky session' means that, once Coldfusion has delegated a
session to server S1, say, it will direct all requests belonging to
that session to S1.
How can i implement this solution?
By installing the MultiServer version of CFMX7 or CF8. You
would then
configure
sticky sessions in the
Cluster Manager page in the
Enterprise Manager section of the Coldfusion Administrator.
Can u please describe it with sample code or please post sample
code how to implement sticky session.
Sticky sessions are just a way to balance the load on
servers. In the scenario I have described, there is no coding
involved. Coldfusion does it automatically for you.
Is this best solution in clustered environment?
I have only used it experimentally, so cannot really give you
an assessment. However, it is a fascinating technique.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment