-----Original Message-----
From: Michael Paulsmeyer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: Cluster Environment


Craig:

The text I quoted in the original post is from the very chapter you
suggested I read.
--------

dooh.

--------
So, let me get this straight, if a client with a host cookie hits a server
with domain-level cookies set it will then migrate that cookie to a
domain-level and set cfmagic (I love that name) so the other servers know
that that client now has a domain-level cookie.
--------

Sounds straight to me.

--------
What happens when, if by some freak event, that one client with a host-level
cookie hits the cluster and gets it's cookie migrated to domain-level, but
there exists another client with a domain-level cookie with that same
id/token combo?  Basically what I am trying to ask is what if two servers
hand out the same cfid/token. Can that happen?
--------

You are only going to get one CFID/CFTOKEN set per domain so when the server
tried to migrate the host cookies it would see CFMAGIC and say "swell I'll
just use
these domain cookies right here!".

On your last question it is theoretically possible but pretty darn unlikely.

-------
--pinners are all good, we already knew that.

--alpiners need to know that "To free the heel, means to free the mind!"
-------

Granola heads.

"Dude, your ski is busted.  Oh! You meant it to do that?"

-------
Mike.

-----Original Message-----
From: Craig Fisher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 10:12 AM
To: [EMAIL PROTECTED]
Cc: Michael Paulsmeyer
Subject: RE: Cluster Environment


Mike:

Check out the documentation for the <CAPPLICATION> tag.

Specifically the documentation for the SETDOMAINCOOKIES argument:

(here it is)
----------------
SETDOMAINCOOKIES

Optional. Yes or No. Sets the CFID and CFTOKEN cookies for an
entire domain not just a single host. Applications that are running
on clusters must set this value to Yes. The default is No.
----------------

and for even more fun read from chapter 12 of "Developing Web Applications
with ColdFusion" the section entitled "Managing Client State in a Clustered
Environment"


It's all good pinner!

--Craig





-----Original Message-----
From: Michael Paulsmeyer [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 3:09 PM
To: [EMAIL PROTECTED]
Subject: Cluster Environment


Hello All,

My question is if two users hit a clustered site and both hit a different
server, could those servers create the same cfid/cftoken combination?
Asking this question because a client wants to move from session variables
to client variables and I want to assure him that this situation will not
happen or that if it does there are simple measures to take to resolve it.

Thanks In Advance,
Mike Paulsmeyer.

----------------------------------------------------------------------------
--
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.

------------------------------------------------------------------------------
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.

Reply via email to