That is great but how do you know where to use each of these types.  From
what it sounds like why not just use client variables all the time?

Thanks,

Neil

----- Original Message -----
From: "Ken Wilson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, January 05, 2002 2:47 AM
Subject: RE: Clustering and CF variables.


> Sure, it's painless.
>
> The big difference is that Session Variables are stored in Ram on the
server
> where they are created. That's why it's so critical to lock session
variable
> reads/writes. That's also why you'll lose state when you end up on another
> server in the cluster...servers can't share their Ram.
>
> Client variables can be stored in your choice of Cookie, Registry (Nooo!)
or
> Database. Since you're in a clustered environment the DB storage would
seem
> perfect for you since they'll be available to you regardless of which
server
> you hit.
>
> Ken
>
>
>
> -----Original Message-----
> From: Neil H. [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 05, 2002 2:21 AM
> To: CF-Talk
> Subject: Re: Clustering and CF variables.
>
>
> So you are saying I should change my variable from session to client.  See
> maybe I am just dumb but I never really understood the difference.  Sure I
> have seen different definitions but I never set down and thought about it.
> Maybe someone has the "for dummies" version?
>
> Neil :)
>
> ----- Original Message -----
> From: "Ken Wilson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, January 05, 2002 2:19 AM
> Subject: RE: Clustering and CF variables.
>
>
> > Are you talking about Session Variables or Client Variables? Session
> > variables are Memory resident on the server where they are created
whereas
> > Client Variables will be stored in the central DB that you have setup.
> >
> > Ken
> >
> >
> >
> > -----Original Message-----
> > From: Neil H. [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, January 05, 2002 12:31 AM
> > To: CF-Talk
> > Subject: Clustering and CF variables.
> >
> >
> > I am using session variables.  I have setup a DSN and a Client Variable
> > Storage to the same database on each server.  The code is identical.  I
am
> > using Microsoft NLB.  It works well except that my session variables
> aren't
> > carrying over.  Any ideas?  I know its broad but there has to be
something
> > obvious....
> >
> > Neil
> >
> >
>
> 
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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