Session variables CANNOT span servers.  CF 4.5 clustercats can do 
"sticky"
sessions, which means that the first server the user hits is the one 
they
use for the duration of their visit (I'm not sure if this is done via 
cookie
or URL), and therefore you can use session variables since the user 
will be
sticking with one server.  This, of course, doesn't work if the server 
goes
away.

Client, form and cookie variables seem to be the accepted means for 
state
maintenance in clustercats clusters.  I have used client variables and 
am
pretty happy with them.

> -----Original Message-----
> From: Shawn Grover [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 11:52 AM
> To: CF-Talk
> Subject: Session variables on clustered servers?
> 
> 
> I know Sessions variables can span a cluster, but am not sure of the
> details/gotchas.
> 
> My experience with clusters is non-existent, but it looks 
> like I'm going to
> be getting a crash course soon.  So, I need to know some details for
> ensuring my sites work well over a cluster.  I'm assuming the 
> cluster will
> be using CF5's clustering capabilities. (well, I know CF4.5 
> did it, and
> assume CF5 does as well).
> 
> Are session variables a reasonable option on a cluster? or 
> should I be using
> Client variables with a DSN for storage?  Are there any 
> gotcha's I need to
> be aware of with regards to the Session varibles?  
> 
> Thanks for any tips/suggestions.
> 
> 

______________________________________________________________________
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