I have an application that worked perfectly on an MX7 Standard server.  I've 
since attempted to move everything to Enterprise 8, matching the settings as 
closely as possible.  The application sends text to a key stamper that then 
stamps serial numbers on brass keys.  The stamper is old and doesn't 
communicate back, but just sits and takes the text

In the application, it displays the text to stamp on the key as it stamps, 
pauses for the next key to be fed into the stamper and starts stamping it.

I've had to make some changes in the code, but I now have gotten it to stamp 
the keys correctly.  However, in Enterprise 8 it won't display the text as it's 
stamping the keys.  The application stamps all the keys, pausing the web page, 
until they're all done, then displays the text.  It's almost as if CF is 
caching the display until it's completed the loops.

Is there any way to force CF to display this text immediately?  I've tried 
<cfflush>, and that doesn't seem to work.

I've included a snippet of the important code.  TIA!

                Key: #i#&nbsp;&nbsp;#DHIText#<br /><cfflush>
        <script>
                milliSecs = #milliSeconds#;
                objComport.Device              = "COM1";
                objComport.Speed               = 1200;
                objComport.ComTimeout          = 500;
                objComport.LogFile             = "C:\ComLog.txt";
                objComport.HardwareFlowControl = 
objComport.asFLOWCONTROL_DEFAULT;

                objComport.Open();
                objComport.Sleep(milliSecs);    
                objComport.Close();
        </script>

                <cfset i = #i# + 1>
        </cfloop>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to