hello there,
does anybody know how to get coldfusion to wait 4 seconds before continuing
executing a template?:
<cfinclude template="ai_Globals.cfm">
<!--- wzzip is the command line module of winzip. Winzip and wzzip needs to
be
installed on the server. The map image file and its header file(s) are
zipped into
one file in the output directory --->
<cflock timeout="15" throwontimeout="Yes" name="zipper" type="EXCLUSIVE">
<cfexecute name="C:\Progra~1\WinZip\wzzip.exe"
arguments="C:\ArcIMS\Output\#ID#.zip #LocationDir#\#ID#.*"> </cfexecute>
</cflock>
****wait for 4 seconds (in this case the cfexecute timeout doesn't
work...)****
<!--- Next the user will automatically get a prompt in which he/she can
agree
to download the zip file --->
****a meta refresh with a 4 sec timing works, but i would rather like to use
a cflocation instead ...****
<cfoutput>
<META HTTP-EQUIV="Refresh"
CONTENT="4;URL=http://#Session.ServerName#/Output/#ID#.zip">
</cfoutput>
<cflocation url="http://#Session.ServerName#/Output/#ID#.zip">
cheers, jappe
p.s. thanx, Dave, for the help on the com objects, it all works perfectly
well!
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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