Send the WDDX packet back as a hidden form field in a call to a CFM template. The template then takes the data, validates it and inserts it.
No CFSchedule reauired. On 7/2/02 9:23 AM, "Mark Leder" <[EMAIL PROTECTED]> wrote: > Maybe I should clarify: > > When a wddx packet is sent to a second server, can a routine be built > using Cfschedule or some other mechanism to detect when the packet is > coming in, then an insert would be auto-run. The issue that concerns me > with Cfschedule is that I would have to set it to run every couple of > seconds to look for and grab an incoming packet, then deserialize and > write to the database. Problem is, what happens if the Cfschedule > misses grabbing the packet? So the time frame would have to be real > short, as I am attempting to do this in near real-time. > > Ideas? > > Thanks, > Mark > > > -----Original Message----- > From: Matthew Friedman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 7:49 AM > To: CF-Talk > Subject: RE: WDDX Structure Deserialization and posting to db > > > you could pass it in a form and then before inserting it into the > database check to see if it is a valid wddx packet. > > there is a UDF to that can help on cflib.org > > matt > > -----Original Message----- > From: Mark Leder [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 1:36 AM > To: CF-Talk > Subject: WDDX Structure Deserialization and posting to db > > > I want to pass a WDDX packet (containing a structure) between two > servers. On the receiving server, I want to deserialize the packet then > write it to a database. > > Is there a right way to accomplish the posting to the database, so that > the receiving server recognizes that a packet is being sent to it, then > it would automatically fire a routine to insert the data into the > database? > > > Thanks, > Mark > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

