Re: Coldfusion 8 Flash Remoting Issue

2009-07-11 Thread Simon Bailey
. Check you directory structure, it seems like remoting cannot find that cfc so are you missing a directory??? Below is a simple example I got working with never having to configure or mess with any config xml, just coded and run out the box np

Re: Coldfusion 8 Flash Remoting Issue

2009-07-11 Thread heath stein
Thanks guys for the help, I found the issue , it was the OnRequest method in my Application.cfc. I had forgot that I put a stock Application.cfc in the main site folder. I commented out the OnRequest method and and my remoting calls started working correctly. It makes sense now that I think

Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein
I have set up a call to a cfc with as3. I have tested this on a cf mx server and it worked fine. Now I am trying to get it to work on a cf8 server and I'm having no luck. It returns a null value every time. I can actually change the name of the method of the call to anything and I get the

Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Azadi Saryev
iirc, you have to edit web.xml and un-comment the flash remoting section of the code there... i may be wrong since i do not use flash remoting much... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 11/07/2009 00:47, heath stein wrote: I have set up a call to a cfc with as3. I have

Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein
Here are my config settings for web.xml and gateway-config.xml. I think everything is configured correctly. Web.xml servlet id=coldfusion_servlet_11 servlet-nameFlashGateway/servlet-name display-nameFlash

Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Paul Kukiel
Did you enable mappings in the remoting-config.xm file? Also does the mapping exist? By default its off. Paul On 10/07/2009, at 1:47 PM, heath stein wrote: I have set up a call to a cfc with as3. I have tested this on a cf mx server and it worked fine. Now I am trying to get

Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein
Did you enable mappings in the remoting-config.xm file? Also does the mapping exist? By default its off. Paul On 10/07/2009, at 1:47 PM, heath stein wrote: Paul, I have enabled mapping in the flex/remoting-config.xml file. I have set up a mapping in the CF Admin, But not in the flex

Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Paul Kukiel
/property-case /properties /destination Paul On 10/07/2009, at 8:34 PM, heath stein wrote: Did you enable mappings in the remoting-config.xm file? Also does the mapping exist? By default its off. Paul On 10/07/2009, at 1:47 PM, heath stein wrote: Paul, I have

File not found error with flash remoting talking to a cfc

2009-03-12 Thread Kevan Stannard
We are using AS3 in Flash and trying to get flash remoting working via IIS6 to access a ColdFusion 7 component. The remoting call is failing and producing an error message: File not found: C:\sites\orion\remote\quizEngineProxy.cfm C:\sites\orion is the web root. The actual file we are calling

Strange application variables behavior with flash remoting

2008-12-09 Thread David Wilson
We're running two similar structured sites on IIS6 and CF8 with similar flex apps using flash remoting. Where the source of a flash remote object is the same for both sites ie) source=app.User the CFCs get their application variables jumbled up. Which ever was called first sets for both

Re: Strange application variables behavior with flash remoting

2008-12-09 Thread AJ Mercer
flex apps using flash remoting. Where the source of a flash remote object is the same for both sites ie) source=app.User the CFCs get their application variables jumbled up. Which ever was called first sets for both. However the application name for both is different and cfdumping

Flash Remoting / Virtual Servers / Sun Java Webserver 7 / CFMX7

2008-09-12 Thread Tim Bugler
I've run into an issue with Flash Remoting and virtual web servers. The gateway test works fine for all the domains / virtual servers, but when I access the apps via the web URL it won't pull down any data. A quick fix for part of the problem was to create a crossdomain.xml file, but that didn't

Flash remoting not working thru domain url on DNS

2008-09-12 Thread Tim Bugler
I've run into an issue with Flash Remoting. Everything works fine if I access the server via the servers DNS name. And if I log into the app via the DNS address, I can than also login to the app via the site URL (as long as it is the same browser and I don't close the session) and everything

RE: Flash remoting not working thru domain url on DNS

2008-09-12 Thread Dave Watts
I've run into an issue with Flash Remoting. Everything works fine if I access the server via the servers DNS name. And if I log into the app via the DNS address, I can than also login to the app via the site URL (as long as it is the same browser and I don't close the session

RE: Flash remoting not working thru domain url on DNS

2008-09-12 Thread Tim Bugler
. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: September-12-08 8:03 PM To: CF-Talk Subject: RE: Flash remoting not working thru domain url on DNS I've run into an issue with Flash Remoting. Everything works fine if I access the server via the servers DNS name. And if I

RE: Flash remoting not working thru domain url on DNS

2008-09-12 Thread Tim Bugler
Figured it out. Sometimes it better to see if there is any gas in the tank before you start looking at the engine. Just a bad metaphor for my over-thinking the problem. Variables for the remoting were set in the Application.cfc. When I made the changes the application server wouldn't let go

Re: Help with Flash Remoting with AS3/Flash/CF

2008-06-26 Thread Tom Smith
Remoting connection. If anyone knows how to actually retireve variables out of it that would be nice to see as well. var connection:NetConnection = new NetConnection(); connection.connect(http://localhost:8500/flashservices/gateway/;); //create result handler function 1 runs on result, 2 runs on error

Re: Help with Flash Remoting with AS3/Flash/CF

2008-06-26 Thread Jo�o_Fernandes
Tom, /flashServices/gateway endpoint is for AMF0 calls.If you want to call that endpoint from a AS3 app you should define the client-side encoding to AMF0. If you are using CF7.0.2/CF8 you should point it to /flex2gateway instead to take advantage of the AMF3 format. -- João Fernandes

Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Tom Smith
I've been searching everywhere for a Flash Remoting solution that uses AS3 in Flash using Coldfusion. So far I've struck out on solutions. Seems like all the tutorials/examples on the web all use AS2 and the methods are very different. I can't use AS2 cause the flash movie is very processor

RE: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Dave Watts
I've been searching everywhere for a Flash Remoting solution that uses AS3 in Flash using Coldfusion. So far I've struck out on solutions. Seems like all the tutorials/examples on the web all use AS2 and the methods are very different. I can't use AS2 cause the flash movie is very

RE: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Robert Harrison
You need to work with your interaction as form data and strings. If you are outputting data to a CF query, submit the flash strings to your cfquery as form.variables. If you are outputting CF data to Flash, output your data to a string, like this:

RE: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Dave Watts
You need to work with your interaction as form data and strings. I don't think that's Flash Remoting (RemoteObject). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington

Re: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Tom Smith
hours Flash feedback session with the ppl that made it, and they couldn't help me. They just seem to write off Flash remoting as the solution. Yeah well lot of good that does me now. Funny they seemed to push AS3 so hard, yet it seems like a very rushed language. No documentation on handling

Re: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Tom Smith
hours Flash feedback session with the ppl that made it, and they couldn't help me. They just seem to write off Flash remoting as the solution. Yeah well lot of good that does me now. Funny they seemed to push AS3 so hard, yet it seems like a very rushed language. No documentation on handling

Re: Help with Flash Remoting with AS3/Flash/CF

2008-06-23 Thread Jo�o_Fernandes
Tom, If your only need is to have clients in sync but with no data-conflict resolution, you can try BlazeDS which provides you messaging support using an AMF channel. With Messaging you can push changes to clients and with some logic at the client, you could update your application and get the

RE: Flash Remoting and CF

2008-03-20 Thread Robert Harrison
OK. Thanks for all the responses. Summary is do NOT try to connect flash directly to a DB. We'll use CF as an intermediate. Although, at this point I'm not exactly sure how to do that. I'll probably be back seeking more advice later, but I'll do some research first. Thanks Everyone... Robert B.

Re: Flash Remoting and CF

2008-03-20 Thread Brian Kotek
First, at this point I'd say if you don't use Flex to do this you're a bit crazy. ;-) Your Flash guy can use Flex to handle all the core UI still and still write custom ActionScript or create .swfs that can be used within Flex. There is a vast array of information on how easy it is to talk to

Re: Flash Remoting and CF

2008-03-20 Thread Paul Hastings
Brian Kotek wrote: First, at this point I'd say if you don't use Flex to do this you're a bit crazy. ;-) Your Flash guy can use Flex to handle all the core UI or you can kick your flash guy to the curb ;-) flex is easy enough even cf troglodytes can make good looking UI. seriously though i

RE: Flash Remoting and CF

2008-03-20 Thread Kevin Aebig
Definitely. Use the right tool for the job at hand. It also depends what you're comfortable using and the timeframe of the project. !k -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:44 AM To: CF-Talk Subject: Re: Flash Remoting and CF

Flash Remoting and CF

2008-03-19 Thread Robert Harrison
to connect directly to the DB, run queries from inside flash, and use the data to fill the flash page. I thought that was Flash Remoting. The flash programmer, however, wants me to write all the queries in CF pages. He'll pass data to my CF pages, CF will do the queries, and I'll pass back these big

Re: Flash Remoting and CF

2008-03-19 Thread Matt Williams
I don't think Flash does queries. It does as your Flash guy says, send a request and receives responses - that is Flash remoting. So yes, you should write CFCs that Flash will send requests to. On Wed, Mar 19, 2008 at 1:40 PM, Robert Harrison [EMAIL PROTECTED] wrote: We're developing a data

RE: Flash Remoting and CF

2008-03-19 Thread Robert Harrison
I don't think Flash does queries. It does as your Flash guy says, send a request and receives responses - that is Flash remoting. So yes, you should write CFCs that Flash will send requests to. What about this: http://www.devx.com/webdev/Article/30638 Robert B. Harrison Director

RE: Flash Remoting and CF

2008-03-19 Thread Andy Matthews
Your Flash guys are correct. Flash cannot run queries directly against the database. It needs middleware such as ColdFusion, PHP, or .NET. Your best bet is to write some CFCs to which Flash can connect. That's true remoting using the AMF protocol. Your application will be faster and more

Re: Flash Remoting and CF

2008-03-19 Thread Jo�o_Fernandes
that produces XML Webservices Remoting in AMF0 ( Before 7.0.2 ) or Remoting AMF3 ( 7.0.2 or higher ). -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: Flash Remoting and CF

2008-03-19 Thread Josh Nathanson
on the server, or via ajax for example. -- Josh - Original Message - From: Robert Harrison [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, March 19, 2008 12:30 PM Subject: RE: Flash Remoting and CF I don't think Flash does queries. It does as your Flash guy

Re: Flash Remoting and CF

2008-03-19 Thread Rick Root
On 3/19/08, Robert Harrison [EMAIL PROTECTED] wrote: I don't think Flash does queries. It does as your Flash guy says, send a request and receives responses - that is Flash remoting. So yes, you should write CFCs that Flash will send requests to. What about this: http://www.devx.com

RE: Flash Remoting and CF

2008-03-19 Thread Dave Watts
I don't think Flash does queries. It does as your Flash guy says, send a request and receives responses - that is Flash remoting. So yes, you should write CFCs that Flash will send requests to. What about this: http://www.devx.com/webdev/Article/30638 What about it? In that article

Remoting, returning errors from CFCs to Flex

2007-12-14 Thread Giles Roadnight
Hi All I am setting up a login system for my Flex administration tool. I'm using a ColdFusion 8 backend. I've looked into CFlogin but I'm not very keen on it really so I've decided to just use session variables instead. When a user logs in a userVo object is stored in the session variable (and

Re: Remoting, returning errors from CFCs to Flex

2007-12-14 Thread Jo�o_Fernandes
Giles did you try cfthrow? Everytime you use cfthrow you'll get a faultEvent in the Flex side. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: Remoting, returning errors from CFCs to Flex

2007-12-14 Thread Giles Roadnight
Many thanks, I'll try that next time I'm working on this project. On Dec 14, 2007 8:46 AM, João_Fernandes [EMAIL PROTECTED] wrote: Giles did you try cfthrow? Everytime you use cfthrow you'll get a faultEvent in the Flex side. -- João Fernandes http://www.onflexwithcf.org

Re: Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-07 Thread Tom Chiverton
On Tuesday 06 Nov 2007, Mike Chabot wrote: You can code an IP address restriction on the ColdFusion server using a few lines of code. Just check the cgi variable against an accepted list. Maybe I wasn't clear, this is for the built in CF8 server monitor. -- Tom Chiverton Helping to

Re: Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-07 Thread Tom Chiverton
On Tuesday 06 Nov 2007, Matt Barfoot wrote: How about proxing requests through Apache and using the location directive (Allow from) to lock it down. Yup can do, except how do I not lock down all the other remoting requests to all the other (per-project) destinations ? -- Tom Chiverton

Re: Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-06 Thread Tom Chiverton
On Thursday 01 Nov 2007, Tom Chiverton wrote: Is there a way in CF8 to restrict only certain IP address to connect to the default ColdFusion remoting destination ? No one ? So the only think that stands betwen a live CF8 server without a public /CFIDE mapping but with the default remoting

RE: Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-06 Thread Matt Barfoot
remoting destination (ColdFusion) (CF8) On Thursday 01 Nov 2007, Tom Chiverton wrote: Is there a way in CF8 to restrict only certain IP address to connect to the default ColdFusion remoting destination ? No one ? So the only think that stands betwen a live CF8 server without a public /CFIDE

Re: Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-06 Thread Mike Chabot
. You could embed the IP address in that token, and check it when you decrypt it on the server. You can set up IP address restrictions on folders inside of IIS, although I am not sure if the remoting feature will obey those rules. Just a few ideas. -Mike Chabot On Nov 6, 2007 4:32 AM, Tom Chiverton

Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-01 Thread Tom Chiverton
Is there a way in CF8 to restrict only certain IP address to connect to the default ColdFusion remoting destination ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership

Re: CF8, Flex, and Remoting over SSL

2007-10-16 Thread Tom Chiverton
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: destination = null I'm fairly sure that should have the value of the destination in. Could you post the server's services-config, the services-config the MXML was compiled with, and your MXML code ? -- Tom Chiverton. Are you a great

Re: CF8, Flex, and Remoting over SSL

2007-10-16 Thread Rick Root
with, and your MXML code ? You'd think, wouldn't you? http://www.it.dev.duke.edu/public/services-config.xml http://www.it.dev.duke.edu/public/remoting-config.xml And the MXML (this is for the very first remote object call that the app uses): mx:RemoteObject id=roAuth destination=ColdFusionSSL source

Re: CF8, Flex, and Remoting over SSL

2007-10-16 Thread Rick Root
have the value of the destination in. Could you post the server's services-config, the services-config the MXML was compiled with, and your MXML code ? You'd think, wouldn't you? http://www.it.dev.duke.edu/public/services-config.xml http://www.it.dev.duke.edu/public/remoting-config.xml

Re: CF8, Flex, and Remoting over SSL

2007-10-16 Thread Rick Root
with, and your MXML code ? You'd think, wouldn't you? http://www.it.dev.duke.edu/public/services-config.xml http://www.it.dev.duke.edu/public/remoting-config.xml And the MXML (this is for the very first remote object call that the app uses): mx:RemoteObject id=roAuth destination

Re: CF8, Flex, and Remoting over SSL

2007-10-16 Thread Tom Chiverton
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: Damned IE. That was my next question :-) -- Tom Chiverton. Are you a great ColdFusion programmer, who knows Reactor and ColdSpring, and has done some Flex work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an

Re: CF8, Flex, and Remoting over SSL

2007-10-15 Thread Rick Root
On 10/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: On 10/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: Content-Length: 331 What the content here say ? Fiddler doesn't decode AMF

CF8, Flex, and Remoting over SSL

2007-10-04 Thread Rick Root
So I upgraded my server to CF8 this weekend, and of course once again, all my flex remoting calls are going over http instead of https. so I went into the remoting-config.xml (apparently this is where the destination Coldfusion is now defined... and I changed the default channel to my-cfamf

Re: CF8, Flex, and Remoting over SSL

2007-10-04 Thread Tom Chiverton
On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: Content-Length: 331 What the content here say ? -- Tom Chiverton Helping to interactively syndicate sticky meta-services on: http://thefalken.livejournal.com This email is sent for and on

Re: CF8, Flex, and Remoting over SSL

2007-10-04 Thread Rick Root
On 10/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: Content-Length: 331 What the content here say ? Fiddler doesn't decode AMF content... When I highlight the hex content, it says the length is 331... so that must be it :) -- Rick Root

Re: CF8, Flex, and Remoting over SSL

2007-10-04 Thread Tom Chiverton
On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: On 10/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: Content-Length: 331 What the content here say ? Fiddler doesn't decode AMF content... When I highlight the hex content, it says the

Flash Remoting with CFFORM

2007-07-05 Thread Meghan Belanger
I'm trying out Flash remoting for the very first time and am completely baffled about an error I'm receiving. I have an admin form in an application that allows users to maintain a number of lookup tables, which feed various dropdown lists throughout the app. Currently this is set up so

Re: Flash Remoting with CFFORM

2007-07-05 Thread Meghan Belanger
of frustration. Meghan I'm trying out Flash remoting for the very first time and am completely baffled about an error I'm receiving. I have an admin form in an application that allows users to maintain a number of lookup tables, which feed various dropdown lists throughout the app

RE: Using sessions with Flash Remoting

2007-06-16 Thread Dave Watts
Aha! That might be the ticket! Is this something built into CF, or are you talking more along the lines of something like a cron job? CF has a scheduler, but you can use your OS scheduler (cron, at, whatever) as well. Historically, there have been problems with CF's scheduler, so I got into

Re: Using sessions with Flash Remoting

2007-06-16 Thread John Robinson
Thanks again Dave, CF's scheduler looks like it will do the job, and seems more suited for what I'm doing than sessions. John On Jun 16, 2007, at 12:44 PM, Dave Watts wrote: Aha! That might be the ticket! Is this something built into CF, or are you talking more along the lines of something

Re: Using sessions with Flash Remoting

2007-06-15 Thread John Robinson
I tactually had a logout button in place and working for a while, but I figure nobody will actually use it... A logout button... why would I use that? I'll just close the window and save myself the hassle. I also thought about updating a timestamp every time they do something. I have a

Re: Using sessions with Flash Remoting

2007-06-15 Thread John Robinson
using either XML sockets or FMS, than you can trigger the notification from there... !k -Original Message- From: John Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 2:01 PM To: CF-Talk Subject: Re: Using sessions with Flash Remoting On Jun 14, 2007, at 3:47

RE: Using sessions with Flash Remoting

2007-06-15 Thread Dave Watts
I tactually had a logout button in place and working for a while, but I figure nobody will actually use it... A logout button... why would I use that? I'll just close the window and save myself the hassle. Maybe you could use the JavaScript onUnload event to capture logout information?

Re: Using sessions with Flash Remoting

2007-06-15 Thread John Robinson
On Jun 15, 2007, at 11:01 AM, Dave Watts wrote: I tactually had a logout button in place and working for a while, but I figure nobody will actually use it... A logout button... why would I use that? I'll just close the window and save myself the hassle. Maybe you could use the JavaScript

RE: Using sessions with Flash Remoting

2007-06-15 Thread Dave Watts
I could do that, but the stumbling point is not really where to store the data, but how/where to have CF monitor these values and do something with them, without that CF activity being tied to any or all users. You could store the session tokens and timestamps in the Application scope,

RE: Using sessions with Flash Remoting

2007-06-15 Thread Andy Matthews
- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 1:58 PM To: CF-Talk Subject: RE: Using sessions with Flash Remoting I could do that, but the stumbling point is not really where to store the data, but how/where to have CF monitor these values and do something with them

RE: Using sessions with Flash Remoting

2007-06-15 Thread Kevin Aebig
using a socketless method to connect everyone, the complexity of handling what you want is a real pain... !k -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 1:10 PM To: CF-Talk Subject: RE: Using sessions with Flash Remoting I believe

Re: Using sessions with Flash Remoting

2007-06-15 Thread John Robinson
On Jun 15, 2007, at 2:57 PM, Dave Watts wrote: I could do that, but the stumbling point is not really where to store the data, but how/where to have CF monitor these values and do something with them, without that CF activity being tied to any or all users. You could store the session

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
Woot! I finally got it working, thanks to Sean's insight. There are a few issues still that I'm not sure about.. namely: onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage type=string required=true cfinclude template=#arguments.thePage# /cffunction You can't use onRequest with Flash

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 11:12 AM, Dave Watts wrote: onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage type=string required=true cfinclude template=#arguments.thePage

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
Given that that is the case and I have no way of knowing the browser closed, I have a function (defined in a .cfc) called by flash that basically loops for a while and returns some data (or it times out and then returns an empty record set). As soon as I get this response, I send out a

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 3:47 PM, Dave Watts wrote: Given that that is the case and I have no way of knowing the browser closed, I have a function (defined in a .cfc) called by flash that basically loops for a while and returns some data (or it times out and then returns an empty record set). As

RE: Using sessions with Flash Remoting

2007-06-14 Thread Kevin Aebig
sessions with Flash Remoting On Jun 14, 2007, at 3:47 PM, Dave Watts wrote: Given that that is the case and I have no way of knowing the browser closed, I have a function (defined in a .cfc) called by flash that basically loops for a while and returns some data (or it times out and then returns

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
Actually in this case, I do need to kill the session. I'm building a chat app. When a user leaves, I need to let the other users still active in the chat know that this user has left. Essentially I'm deleting them from a temp table in a db. Make sense? The only indication I've found so

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
You're right, it is onSessionEnd. I have that working. I'm going to try to see what errors I can get later tonight. And yes, you're right in that I *should* be using FMS (I'd much rather be!) but my client wants this in CF. The chat actually works pretty well so far aside from this one

Re: Using sessions with Flash Remoting

2007-06-14 Thread Dinner
On 6/14/07, John Robinson wrote: Actually in this case, I do need to kill the session. I'm building a chat app. When a user leaves, I need to let the other users still active in the chat know that this user has left. Essentially I'm You can always do something like if they click the

Re: Using sessions with Flash Remoting

2007-06-13 Thread John Robinson
Thanks Kevin, I saw an earlier post of yours that mentioned how you didn't like using sessions with flash, and that is was a pain in the arse. Technically though, this shouldn't have much to anything to do with flash or remoting. I'm working on a chat application and have it all working

Re: Using sessions with Flash Remoting

2007-06-13 Thread John Robinson
Session.somevar=whatever in my cfc, it didn't show up in the cookie, but when I used Client, the var showed up. Flash Remoting should handle per-session cookies but I think if you want to use persistent cookies, you need to use JavaScript with your Flash app to manipulate them. If you're

Re: Using sessions with Flash Remoting

2007-06-12 Thread James Holmes
Well onSessionStart and onSessionEnd must go in Application.cfc. This will need to go in a folder somewhere above the files that your remoting calls are hitting. I assume you're handling the cookies for sessions somewhere in your client code? On 6/12/07, John Robinson [EMAIL PROTECTED] wrote: I

Re: Using sessions with Flash Remoting

2007-06-12 Thread John Robinson
somewhere above the files that your remoting calls are hitting. I assume you're handling the cookies for sessions somewhere in your client code? On 6/12/07, John Robinson [EMAIL PROTECTED] wrote: I should note that I'm specifically having trouble with onSessionStart and onSessionEnd

Re: Using sessions with Flash Remoting

2007-06-12 Thread Sean Corfield
On 6/12/07, John Robinson [EMAIL PROTECTED] wrote: cffunction name=onApplicationStart returnType=boolean output=false cfset Client.testVar = onApplicationStart This stores the client.testVar in VARIABLES.client.testVar which is essentially thrown away after the request

Re: Using sessions with Flash Remoting

2007-06-12 Thread John Robinson
Thanks Sean - So ignoring the stuff below, can you or anyone shed some light on how I can set a Client or Session variable in the cfc that I'm using with flash, that I can use later in my onEndSession function? In my onEndSession function, I have 2 arguments, 'sessionScope' and 'appScope'.

RE: Using sessions with Flash Remoting

2007-06-12 Thread Kevin Aebig
, !k -Original Message- From: John Robinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 2:57 PM To: CF-Talk Subject: Re: Using sessions with Flash Remoting Thanks Sean - So ignoring the stuff below, can you or anyone shed some light on how I can set a Client or Session

Re: Using sessions with Flash Remoting

2007-06-12 Thread Sean Corfield
ever use client variables so I completely missed that you're trying to use CLIENT scope here. My bad. Flash Remoting should handle per-session cookies but I think if you want to use persistent cookies, you need to use JavaScript with your Flash app to manipulate them. If you're using J2EE sessions

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-11 Thread Robertson-Ravo, Neil (RX)
To: CF-Talk Sent: Mon Jun 11 06:09:25 2007 Subject: Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting Yes but his consideration of going BD is that he already has written CFML code and that he has been told .Net is better in under Loads. Please try to keep up with conversation. On 6/11/07

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-11 Thread Eric Roberts
Medical Association). This was on a NT4 server (don’t remember how much memory). Eric -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Sunday, June 10, 2007 11:55 PM To: CF-Talk Subject: RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting Well originally they ran CF5

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-11 Thread Eric Roberts
To: CF-Talk Subject: Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting He could port to BD with little or no changes to code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-11 Thread Vince Bonfanti
1/ Will CF8 have equal or better integration with .NET compared to Bluedragon.Net? No. CF8 is still written in Java, and its .NET integration is done using a Java-to-.NET bridge licensed from a third party. BlueDragon.NET on the other hand is a 100% pure .NET implementation. Compared to

Using sessions with Flash Remoting

2007-06-11 Thread John Robinson
I'm trying to use session with remoting, but not having any luck. I simply want to store some user vars (temporary user_id) in a cookie, and when the session ends (or hopefully, the user closes the window) the server takes those vars and executes a query to delete that user from a database

Re: Using sessions with Flash Remoting

2007-06-11 Thread John Robinson
really care where they're stored, as long as they're unique to each user). Thanks, John On Jun 11, 2007, at 6:14 PM, John Robinson wrote: I'm trying to use session with remoting, but not having any luck. I simply want to store some user vars (temporary user_id) in a cookie, and when

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Dave Watts
1/ Will CF8 have equal or better integration with .NET compared to Bluedragon.Net? No. It will let you invoke .NET assemblies, but CF 8 is not a .NET interpreter or compiler as BD.NET is. ... my concern for using CFMX was sparked by another thread on this forum where Tim Uzzanti who is an

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Mike Chabot
On 6/9/07, m g [EMAIL PROTECTED] wrote: 2/ My main reason for consider Bluedragon.NET over CFMX is not due to Flash Remoting but rather to my main concern of .NET touted as being far superior in handling significant loads and simultaneous requests than CFMX... Last week I attended

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Mike Chabot
Below is the introduction to an article written by Jeff Prosise from Wintellect: Enjoy, Mike Chabot Scalable Apps with Asynchronous Programming in ASP.NET http://msdn.microsoft.com/msdnmag/issues/07/03/WickedCode/ [quote] Most Web sites built with ASP.NET aren't very scalable. They suffer a

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Kevin Aebig
, 2007 2:13 PM To: CF-Talk Subject: RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting 1/ Will CF8 have equal or better integration with .NET compared to Bluedragon.Net? No. It will let you invoke .NET assemblies, but CF 8 is not a .NET interpreter or compiler as BD.NET is. ... my

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread James Holmes
Actually that runs on .NET via BD, so it's not the best example in this argument... On 6/11/07, Kevin Aebig [EMAIL PROTECTED] wrote: ... a bunch of crap. There are plenty of high-volume sites using CF. No doubt. Two words as one... MySpace. If that isn't the most defining example of a high

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Russ
: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 12:40 AM To: CF-Talk Subject: Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting Actually that runs on .NET via BD, so it's not the best example in this argument... On 6/11/07, Kevin Aebig [EMAIL PROTECTED] wrote

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Andrew Scott
application, I don't know what is. !k -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, June 10, 2007 2:13 PM To: CF-Talk Subject: RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting 1/ Will CF8 have equal or better integration with .NET compared

RE: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Kevin Aebig
Subject: Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting Actually that runs on .NET via BD, so it's not the best example in this argument... On 6/11/07, Kevin Aebig [EMAIL PROTECTED] wrote: ... a bunch of crap. There are plenty of high-volume sites using CF. No doubt. Two words

Re: Simultaneous Requests/CF vs ASP.NET for Flash Remoting

2007-06-10 Thread Andrew Scott
Yes but his consideration of going BD is that he already has written CFML code and that he has been told .Net is better in under Loads. Please try to keep up with conversation. On 6/11/07, Kevin Aebig [EMAIL PROTECTED] wrote: Well you have a point, but given that he's considering going BD as

  1   2   3   4   5   6   7   8   9   10   >