> I am trying to setup a failover environment for my web application. We are 
> using CF9 standard and LVS (Linux Virtual Server) as the load
> balancer (LB). My web application uses session variables to remember form 
> values posted in a process (eg would work like a session web
> shopping cart).  The issue is the session values are lost when the LB 
> processes the request as it flips between the different servers between
> each request.
>
> Is it possible to setup sticky sessions so that the session variables are 
> retained across the web session? I'm concerned the only way to do this
> is to update the application to client variables and store in the database 
> etc.  Any thoughts or recommendations appreciated.

Yes, you can use sticky sessions with CF Standard. Of course, if one
server fails, the sessions on that server will be lost. If you need
"session" failover with CF Standard, you'll have to use client
variables in a database or some analogous thing you build yourself.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to