Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / March 2005



Tip: Looking for answers? Try searching our database.

NetConnection.Call.Failed only on first session

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Call Me Mad - 20 Feb 2005 07:38 GMT
Ever since I upgraded ColdFusion MX 6.1 to ColdFusion MX 7.0 I get the NetConnection.Call.Failed error the first time I use a remoting call. There after the connection is error free.
C3|Concrete3 - 22 Feb 2005 17:07 GMT
http://www.crystaltech.com/forum/topic.asp?TOPIC_ID=10418&whichpage=1 No solution though :(

Very anoying problem this one...
C3|Concrete3 - 28 Feb 2005 12:51 GMT
Status (object #2) .....code: 'NetConnection.Call.Failed' .....description:
'HTTP: Status 404' .....details:
'http://www.itchlive.com/flashservices/gateway;jsessionid=a4301fd8430b$1E$3F$3'
.....level: 'error'
Mark0015 - 21 Mar 2005 16:15 GMT
Has anyone had any progress with this?   I am having the same issue after we
upgraded to MX7 as well. It seems like the flashplayer and CFMX7 do not support
session state. If I run the my flash applications in the 'test movie' mode of
flash MX with the NetConnection Debugger open, it will work fine. It is when I
try to run the application outside of the Flash MX application (using the flash
player) that I experience the problem.
Mark0015 - 22 Mar 2005 14:39 GMT
Well since I haven't had any luck fixing this from the server-side, I am going
to start working on a fix from the application side. I think I can correct the
behavior by modifying the netservices.as script so that the
AppendToGatewayUrl() funciton will ingore any calls that include jsessionid.  
Not the way I would like to fix this, but I have to move forward with something.
carwebdev - 23 Mar 2005 14:05 GMT
I am having the same problem, and am thinking of reverting back to CFMX 6.1.  

Macromedia, what are you doing to resolve this?
Mark0015 - 23 Mar 2005 14:45 GMT
I started a similair thread in the Coldfusion forum here:  
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&th
readid=978824&enterthread=y  In that thread a Macromedia Server Development
person said he had notified some people there to look into it.  I also have
came up with a workaround on the application side for in the mean time. I have
tested a modification to the netservices.as file within the include folder of
Flash MX that seems to work.  Here is the modfied function:  // This function
gets called whenever a AppendToGatewayUrl header is received from the server.
//******************************************************************************
************************************** // Modifed on 3/22/05 to ingnore
';jsessionid=*' to fix problem after upgrade to CFMX7
//******************************************************************************
**************************************
NetConnection.prototype.AppendToGatewayUrl = function(urlSuffix) { if
(urlSuffix.indexOf(';jsessionid=') > -1) { //this.__urlSuffix = urlSuffix; if
(this.__originalUrl == null) { this.__originalUrl = this.uri; } var u =
this.__originalUrl; } else { this.__urlSuffix = urlSuffix; if
(this.__originalUrl == null) { this.__originalUrl = this.uri; } var u =
this.__originalUrl + urlSuffix; }  this.connect(u); }  Obviously I would much
prefer to fix this from the server-side, but this lets my application work for
the time being.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.