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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273625
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