One question Jay...
Is there any way that two users can hit two different servers (in a
clustered environment) and each server creates the same cfid/cftoken
combination?
Mike.
-----Original Message-----
From: Jay Sudowski - Handy Networks LLC [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Session vars in a clustered environment
Howard,
I've never used session vars in a clustered server setup, but I've read a
lot about doing it, so here goes nothing :-)
>
>
> I've never worked with session variables on clustered servers. I read
> somewhere ... and can't remember where ... that I might have a problem
here.
You can setup the clustering server to use Sticky Sessions - though, this
isn't a truely load balanced solution. Using load balancing, the idea is
that the load will be distributed over all the servers in the cluster. With
sticky sessions, that happens only to a certain extent - once a user is
assigned to a server, the user stays on the server, regardless of the load
so that the session vars are preserved.
>
> What I want to do is have my forms (as I mentioned in a previous post)
> transform form vars over a series of submissions into session vars and
then
> collect the session vars at the end for input into the db.
>
> But this app is going to live on a server cluster. Can I still do this?
If you're using Sticky Sessions, it should be fine.
>
> What about client vars?
>
> Aren't session vars stored in RAM and client vars in the registry (unless
> otherwise specified)? And because of that, aren't they confined to a
single
> machine?
>
Configure CF server to store client variables in a database - storing client
vars in the registry is a bad idea in any setup beacuse if the registry hits
its max size, all sorts of undesireable things will happen :-(. In a
clustered setup, if you setup CF to store the cient vars in the db, they
should be accessble to all the servers in the cluster.
- Jay
> What are my alternatives?
>
> H.
>
> =========================
> Howard Owens
> Web Producer
> InsideVC.com
> mailto:[EMAIL PROTECTED]
> =========================
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.