Store your session variables in the database. Netops must be on top of things if they don't know how to turn on sticky sessions.
Steve ----- Original Message ----- From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> To: "CF-Server" <[email protected]> Sent: Friday, May 06, 2005 10:08 AM Subject: RE: Losing session variables in multi server environment. CFMX 6. 2 > What, setting up sticky sessions is hard? Erm, AFAIK it's a two minute job. > > > > -----Original Message----- > From: frederick valone [mailto:[EMAIL PROTECTED] > Sent: 06 May 2005 16:14 > To: CF-Server > Subject: Re: Losing session variables in multi server environment. CFMX 6.2 > > Yeah.... our OPs team says "It is too hard to set up" I wish I could say > it is "too hard to code" and get away with it. > > That is what I suggested as well as clustering the jrun servers two > physical boxes, and cfmx server instances for failover. > > My manager just wanted to be sure I look at all possiblities prior to > him "Going to bat" for this solution. > > Thanks > > Stephen Moretti wrote: > > >Frederick Valone wrote: > > > > > > > >>We just deployed an application that uses session variables extensively. > This worked well in our development and staged envirionments. However when > we moved it to production the application began "losing" session > information. > >> > >>We determined that this is due to the fact that production is two web > servers behind a content switch. The switch is not set to "sticky" sessions > but instead uses a "round robin" sort of system that is continually > redirecting the session to an alternate server. > >> > >>We use alot of structures in the session scope to populate and maintain > state for the application so switching to client variables is not a > possibility. > >> > >>What is the best way to address this issue? Please respond as soon as > possible (currently running only one server to avoid session issues) > >> > >>Any one who may have run into this issue and have specifics on how they > addressed it would be greatly appreciated. > >> > >> > >> > >> > >Simple solution - use sticky sessions rather than round robin. > > > >Otherwise read these articles : > >Clustering ColdFusion MX 6.1 Enterprise on JRun > ><http://www.bpurcell.org/viewcontent.cfm?contentID=121> - > >http://www.bpurcell.org/viewContent.cfm?ContentID=121 > >Making the Case for CFML on J2EE - > >http://coldfusion.sys-con.com/read/44481.htm > >ColdFusion Clustering Articles - > >http://www.macromedia.com/devnet/mx/coldfusion/clustering.html > > > >Oh and its either CFMX 6.1 or CFMX 7 that you're running ;) > > > >Stephen > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5379 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
