Have you modified the necessary XML configs to actually allow it to session
replicate?







"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Brad Wood
To: CF-Talk
Sent: Fri Mar 23 22:12:22 2007
Subject: More questions on Multiple Instances

Ok, so far I am really enjoying Enterprise. 

I finally got a cluster running on my test server, with a single IIS
site pointing to it and I've got SeeFusion installed in each instance so
I can see which instance in the cluster is handling my requests.  It is
pretty cool.

 

Two questions though (there will be more, I'm sure):

 

I am sharing sessions and I am getting the serialization error on an XML
document stored in session.  Of ALL things, an XML document should be
serializable.

The XML is created like this:

 

MyPrefXML = XmlNew();

MyPrefXML.xmlRoot = XmlElemNew(MyPrefXML,"UserPref");

Etc...

 

And then set into session like this:

<cfset session.userPref = MyPrefXML>

 

Do XML documents not share nicely in the session of a cluster?  Is there
a workaround?  I guess could always just tostring() before I stored
(hello-there is your serialization) and then xmlparse it again when I
needed to use it.

 

The second question is:

Is there a way that my code can access what instance in a cluster it is
running on?  Right now I have 2 test instances in a cluster and that
cluster is bound to a single IIS site which uses a single code base.

 

I want a page which would output:  "I was processed by instance 1" or
something like that.

Is that possible?

 

~Brad





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273639
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to