ColdFusion 10 Session Replication problem


i've setup , configured server farm running windows server 2012 , coldfusion 10 enterprise. have cluster created using named instances (not cfusion, though find curious cf10 allow cluster cfusion instances - presents problems - different discussion later) anyhow.

 

i began sticky sessions enabled on cluster , worked expected, wanted turn off sticky sessions applications enjoy seemless failover. unchecking box on cluster manager, restarting iis , cf, had no effect. sticky still, well, sticky. examination of cluster.xml revealed <stickysession> node set "false" workers.properties still had sticky set true, edited workers.properties, saved, restarted , voila cluster no longer sticky.

 

now here's things weird. call member of team, user losing session , getting logged out. test conducted, dumped session browser , began refreshing page delay between refreshes (f5 key down, f5 key up) , session id stayed same, expected. held down f5 few seconds, bombarding server page requests, , sessionid began cycling sorts of randomness! going delayed pulse of refreshes, session stayed replicated, holding refresh again within seconds changing sessionid.

 

the reason user losing session because application heavily ajax based system, there many ajax calls happening whenever user manipulates objects on screen (it's cms) naturally these occur fast (akin holding refresh key down)

 

coldfusion 10 update 10 10,0,10,284825

tomcat 7.0.23.0

java version 1.7.0_15

os version 6.2

 

thanks ideas/help. apologies short story.

we experiencing exact problem using coldfusion 11. wrote test page makes 100 ajax requests @ given interval, alternating between post , get. can reduce interval setting in java-script , ajax calls start returning different session ids.

 

[coldfusion] cf11 session replication test - pastebin.com  (the server side test.cfc has remote function returns session id in plain text)

 

we using latest cf11 running on windows 2012 r2 standard iis front end site. current updates applied. clustering , instancing have been set per coldfusion documentation use session replication not sticky sessions.

 

any suggestions great!


coldfusion 11,0,05,293506

java 1.8.0_25

os 6.2



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?