I use cfwddx to convert complex structures to wddx client strings.  Works
great.  Also helps to deserialize them (test first to make sure they exist)
at the top of the request and then re-serialize them at the bottom of the
request.  That way you don't have to put client.foo all over your code.
Just shortens up the keystrokes :)




----- Original Message -----
From: "Garza, Jeff" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:44 PM
Subject: RE: session variables and multiple servers


> Since Session variables reside in memory on each individual server, they
> can't be shared across a cluster.  What you'll need to do is use client
> variables instead and store them in a shared datasource.  This way all the
> servers have access to the same information.  On a side note, I can't
> remember if client variables can store complex datatypes like arrays or
> structures or whether you will have to convert these to WDDX first...
> Perhaps someone else on the list could elaborate on this!  If you are
> storing simple data types then there are no problems.
>
> HTH,
>
> Jeff Garza
>
> -----Original Message-----
> From: S R
> To: CF-Talk
> Sent: 3/14/02 6:28 PM
> Subject: session variables and multiple servers
>
> We just changed our website from one being on one server to being on 3
> redundant web servers. The problem is, the web farm switches from server
> to
> server every 15 minutes to whichever server has the least traffic, which
>
> causes me and any other user to have to re-login to password protected
> areas
> on the site every 15 minutes.
>
> How can I make session variables span across all three servers? Or
> should I
> look into other solutions?
>
> Thank
>
> sal
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to