I'm trying to test it out on 1 machine (for now).
I have set up 2 server instances (say Server1 and Server2) and deployed CFMX on both.
I configured both instances of CFMX to allow J2EE sessions.
I clustered those 2 server instances in JRun
I added each of the instances as a peer to the other, and pointed the web root to the same index.cfm file.
The simple INDEX.CFM for testing is as follows:
<CFAPPLICATION name="testapp"
applicationtimeout="#createtimespan(0,0,5,0)#"
sessionmanagement="Yes"
sessiontimeout="#createtimespan(0,0,1,0)#">
<CFIF IsDefined("Session.Host")>
<CFOUTPUT>#Session.Host#</CFOUTPUT>
<CFELSE>
First time here.
</CFIF>
<BR><BR>
<CFSET Session.Host = CGI.HTTP_HOST>
<CFDUMP var="#Session.Host#">
Now, when I test the two instances (say loclhost:8001 and localhost:8002) I never get confirmation that a session is coming form the other instance.
The weird thing (or maybe not) is that the JSessionID, CFID and CFTOKEN are the same on both calls.
Any input is appreciated.
thanks in advance,
Igor
cccfug.org
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

