I use cookies and code like this:
<Cfcookie name="CFID" value="#CFID#" domain=".mydomain.com"
path="/myapp_path">
<Cfcookie name="CFTOKEN" value="#CFTOKEN#" domain=".mydomain.com"
path="/myapp_path">
which sets cookies that
1) "expire" when the browser is closed
2) get sent to all the machines in my domain (which includes all the
machines in my cluster)
3) are only sent when the user is accessing the current application (which
is probably not necessary).
It seems to work...
-----Original Message-----
From: William J Wheatley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 3:17 PM
To: CF-Talk
Subject: RE: Clusters Important and On-Topic =)
=) but thats the thing i dont wnat them to stay on the same server the whole
time, nobody has answered me this question.
Does the setdomaincookie work? it does not appear to work and i can not get
anyone from allaire to get me anything but USE STICKY sessions, and i have
to keep saying i dont want the user to reside on the same box his whole
session i want him to use the box with the lowest load so is
setdomaincookies broke? is there a certain way to do it because simply doing
setdomaincookie=YES is not working it does not retain my client variable
-----Original Message-----
From: Yanik Lupien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 12:39 PM
To: CF-Talk
Subject: Re: Clusters Important and On-Topic =)
Do you have try to use URLRewriting over a Proxy ?
http://www.domain.com/serv1/path/file.cfm Translated to :
http://server01/path/file.cfm
http://www.domain.com/serv2/path/file.cfm Translated to :
http://server02/path/file.cfm
Using this way the client never see http://server01/ it always see
http://www.domain.com/servX/
And if you use this way, you do not need to use Round Robin (DNS) and AOL
user are working to.
In this way, if the user go on server 1 they always stay on server 1.
And if the server 1 need to go down only Rewrite you URL to the second
server ...
Voila
Yanik Lupien
----- Original Message -----
From: "William J Wheatley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 9:47 AM
Subject: Clusters Important and On-Topic =)
> I have a 3 node Linux Btcats Cluster running. I have turned off SESSION
> aware because i use client variables for everything. I also have a
database
> setup to store my client varibles. Now in allaires help it says setting
> SETDOMAINCOOKIE=YES will cause CFMAGIC cookie to migrate all the data from
> the individual clusters and then set a domain level cookie. i set that in
> all 3 of the APP.cfm and its still not working properly i even deleted the
> client storage db & regenerated it with no luck.
>
> See when i'm on the same box it remembers the client.username but once it
> fires off to a seperate box it does not remember the client.id and thus
its
> a problem.
>
> Thanks
>
>
> Bill Wheatley
> Director of Development
> Allaire Certified ColdFusion Developer
> AEPS INC
> Allaire ColdFusion Consulting Partner
> www.aeps.com
> www.aeps2000.com
> 954-472-6684 X303
> ICQ: 417645
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists