RE: CFFILE UPLOAD

2009-09-11 Thread Will Swain

Sorry - coming to this late. Have you tried with a different mp3 file? Is it
all mp3 files that don't work, or just this one?

w 

-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] 
Sent: 11 September 2009 04:49
To: cf-talk
Subject: RE: CFFILE UPLOAD


The MP3 I am uploading is smaller than the WMVs that upload fine ..

-Original Message-
From: Maureen [mailto:mamamaur...@gmail.com]
Sent: 06 September 2009 07:37
To: cf-talk
Subject: Re: CFFILE UPLOAD



Does it exceed max file size for uploads on the server?

On Sat, Sep 5, 2009 at 9:50 PM, Andrew Grosset rushg...@yahoo.com wrote:

 according to this list there are 4 possible mime types for mp3

 http://www.webmaster-toolkit.com/mime-types.shtml

2boogie.mp3

Most file formats work fine (doc, pfd, wmv, for example) and it seems 
it's just music files like mp3 and wma that have a problem.

Could it be something to do with the mime type?





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326217
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CacheBox 0.9 BETA relase

2009-09-11 Thread Dominic Watson

Ah, great stuff - i'll have a butchers

2009/9/11 Matthew Gersting mgerst...@gmail.com


 Hey Dom - that lexicon looks pretty cool. As Isaac mentioned I've been
 working on a Fusebox-specific caching implementation called FuseCache. I
 actually just uploaded it to RIA Forge today.  I'd love for you to check it
 out and see what you think!

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326218
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm

Hi
I’ve a text box on my form, and in the database it is set to allow 500 
characters to be entered, however i can write any amount of characters above 
500, I do get an error sayng: Error Executing Database Query.  
[Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data would be 
truncated.  

But the email still sends anyway, what im trying to do is get rid of the error 
message altogether, so is there a way I can stop the cursor from typing past 
500 characters?

Thanks


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Agha Mehdi

Use maxlength=500 for the input field

Agha

On Sep 11, 2009, at 6:28 AM, Damo Drumm damien.dr...@quinn-group.com  
wrote:


 Hi
 I’ve a text box on my form, and in the database it is set to allow 5 
 00 characters to be entered, however i can write any amount of chara 
 cters above 500, I do get an error sayng: Error Executing Database Q 
 uery.
 [Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data  
 would be truncated.

 But the email still sends anyway, what im trying to do is get rid of  
 the error message altogether, so is there a way I can stop the  
 cursor from typing past 500 characters?

 Thanks


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326220
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Stephane Vantroyen

Hi,

to do you can use javascript, like here :

http://javascript.internet.com/forms/limit-textarea.html

Regards,

Stephane

 Hi
 I’ve a text box on my form, and in the database it is set to allow 500 
 characters to be entered, however i can write any amount of characters 
 above 500, I do get an error sayng: Error Executing Database Query.  
 [Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data 
 would be truncated.  
 
 But the email still sends anyway, what im trying to do is get rid of 
 the error message altogether, so is there a way I can stop the cursor 
 from typing past 500 characters?
 
 Thanks


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm

Hi Agha
Thanks for that, ive put in in the following place but its not doing anything, 
Im I putting it in the correct place?

tr
td valign=topEmail Text :/td
tdtextarea name=body rows=10 cols=85 maxlength=500/textarea/td
/tr

Thanks 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Phillip Vector

Just curious. If you have a text box, have you considered changing the
field type to text?

On Fri, Sep 11, 2009 at 6:34 AM, Stephane Vantroyen s...@emakina.com wrote:

 Hi,

 to do you can use javascript, like here :

 http://javascript.internet.com/forms/limit-textarea.html

 Regards,

 Stephane

 Hi
 I’ve a text box on my form, and in the database it is set to allow 500
 characters to be entered, however i can write any amount of characters
 above 500, I do get an error sayng: Error Executing Database Query.
 [Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data
 would be truncated.

 But the email still sends anyway, what im trying to do is get rid of
 the error message altogether, so is there a way I can stop the cursor
 from typing past 500 characters?

 Thanks


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326223
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm

Hi Philip 
If I change it to text on the SQL server, it only allows me to type 16 
characters

Just curious. If you have a text box, have you considered changing the
field type to text?


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm

Hi Philip 
If I change it to text on the SQL server, it only allows me to type 16 
characters

Just curious. If you have a text box, have you considered changing the
field type to text?


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326225
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: stop cursor typing past 500 characters

2009-09-11 Thread Marius Milosav

Actually Text data type is a variable-length type that can hold up to
2147483647 characters

The 16 characters is just a pointer to location where the text field data is
stored

Marius
-Original Message-
From: Damo Drumm [mailto:damien.dr...@quinn-group.com] 
Sent: September 11, 2009 9:51 AM
To: cf-talk
Subject: Re: stop cursor typing past 500 characters


Hi Philip 
If I change it to text on the SQL server, it only allows me to type 16
characters

Just curious. If you have a text box, have you considered changing the
field type to text?


 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Dave Watts

 If I change it to text on the SQL server, it only allows me to type 16 
 characters

That's incorrect. It'll let you type many more characters than that!
The size of the field is 16 bytes, because it's a pointer to a stored
value outside the field. The sizes for text, ntext and image are
listed here:

http://msdn.microsoft.com/en-us/library/ms187993.aspx

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 DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Transact-SQL Help

2009-09-11 Thread Rick Root

Brad, I'll have to look at your response in much greater detail, but I
can tell you this.

Currently, I'm running a CF script that populates a prospect_export
table once a day.  The initial query returns 25,785 rows, which gets
flattened into 20,265 rows for reporting purposes.

Ultimately I'd rather this were a view, but barring that, I'd rather
repopulate the table more often than once a day, and I'm fairly
certain that doing it with SQL instead of CF would be more efficient.


-- 
Rick Root
CFFM - Open Source Coldfusion File Manager
http://www.opensourcecf.com/cffm

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326228
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm

Hi Marcus
I notice now its actually a textarea name rather than a text box if that makes 
a difference

heres my line of code:
td valign=topEmail Text :/td
tdtextarea name=body rows=10 maxlength=10 cols=85/textarea/td

only problem is maxlength doesnt seem to be doing anything, am i putting it in 
the right place?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326229
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Dave Watts

 I notice now its actually a textarea name rather than a text box if that 
 makes a difference

 heres my line of code:
 td valign=topEmail Text :/td
 tdtextarea name=body rows=10 maxlength=10 cols=85/textarea/td

 only problem is maxlength doesnt seem to be doing anything, am i putting it 
 in the right place?

The TEXTAREA tag doesn't accept a MAXLENGTH attribute. If you use
CFFORM, you could use CFTEXTAREA, which does support a MAXLENGTH
attribute if you specify VALIDATE=MAXLENGTH in it also. Otherwise,
you have to use a JavaScript solution of your own creation to limit
textarea input.

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 DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326230
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Claude Schneegans

  ive put in in the following place but its not doing anything

To my knowledge, the TEXTAREA tag takes no MAXLENGTH attribute, on INPUT 
tag has one.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326231
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Free ColdFusion Conference in North Carolina on October 17-18

2009-09-11 Thread Roger Austin

 The Triangle Area ColdFusion Users Group is holding a free conference 
called CFinNC http://cfinnc.com/ on October 17-18, 2009 on the 
Centennial Campus of North Carolina State University in Raleigh, NC. 
Registration is now open (check the web site.)

 We have a list of excellent national, regional, and local speakers 
on tap. Come learn about ColdFusion, Flex, AIR and other related 
topics. Check the web site for the list of speakers and topics. Please 
also check out the sponsors page for the nice folks who are making 
this happen.

 The conference motto is The economy sucks, but we don't!. Y'all 
come join us for a fun and educational weekend.

 Thanks from the planning committee!
--
http://www.linkedin.com/pub/roger-austin/8/a4/60
http://twitter.com/RogerTheGeek
http://www.misshunt.com/ Home of the Clean/Dirty Magnet
http://cfinnc.com/ ColdFusion Conference in North Carolina Oct 17-18

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: stop cursor typing past 500 characters

2009-09-11 Thread Roger Austin

 Damo Drumm damien.dr...@quinn-group.com wrote: 
 
 Hi Marcus
 I notice now its actually a textarea name rather than a text box if that 
 makes a difference
 
 heres my line of code:
 td valign=topEmail Text :/td
 tdtextarea name=body rows=10 maxlength=10 cols=85/textarea/td
 
 only problem is maxlength doesnt seem to be doing anything, am i putting it 
 in the right place?

I'm not aware that maxlength can be used as an attribute to a textarea.
http://www.w3.org/TR/html401/interact/forms.html#h-17.7

--
http://www.linkedin.com/pub/roger-austin/8/a4/60
http://twitter.com/RogerTheGeek
http://www.misshunt.com/ Home of the Clean/Dirty Magnet
http://cfinnc.com/ ColdFusion Conference in North Carolina Oct 17-18


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326233
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF Blog App with pinging and linkbacks

2009-09-11 Thread Terry Troxel

 
Are there any open source CF Blogs that enable services like Ping-O-Matic
and or linkbacks?

Terry Troxel



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326234
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Anyone have issues with application.cfc on BlueDragon.NET after 7.1.0.382 update?

2009-09-11 Thread Casey Dougall

I can't even use a blank application.cfc after our 7.1.0.382 update
lastnight...

I didn't perform the update myself but now my site is broken. Nothing
changed in the website itself which is the odd part. Jsut throws iis errors
I can't even get a cfml error out of this thing.

This is a 2003 IIS6 server

Only thing I can get is

Anyone else seeing this type of error.

Server Error in '/' Application.
--
 *Object reference not set to an instance of an object.*  * Description: *An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error
and where it originated in the code.

* Exception Details: *System.NullReferenceException: Object reference not
set to an instance of an object.

*Source Error:*

  An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception
can be identified using the exception stack trace below.
*Stack Trace:*

  [NullReferenceException: Object reference not set to an instance of
an object.]
   java.io.Writer.write(String str) +3
   java.io.PrintWriter.write(String str) +63
   com.naryx.tagfusion.cfm.engine.cfStringWriter.write(String str) +166
   com.naryx.tagfusion.cfm.engine.cfHttpServletResponse.write(String str) +12
   com.naryx.tagfusion.cfm.engine.cfSession.forceWrite(String line) +25
   com.naryx.tagfusion.cfm.engine.cfSession.write(String line) +30
   com.naryx.tagfusion.util.debugExceptions.dump(cfSession session) +444
   com.naryx.tagfusion.util.fullRecorder.dump(cfSession session) +745
   com.naryx.tagfusion.cfm.engine.cfSession.pageEnd() +56
   com.naryx.tagfusion.cfm.engine.cfmRunTimeException.handleException(cfSession
_Session) +3230
   com.naryx.tagfusion.cfm.engine.cfEngine.service(cfSession _Session) +700
   NewAtlanta.BlueDragon.CfmHttpHandler.ProcessRequest(HttpContext
httpContext) +77
   
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean completedSynchronously) +75


--
 *Version Information:* Microsoft .NET Framework Version:2.0.50727.3082;
ASP.NET Version:2.0.50727.3082


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Resolved - Re: Anyone have issues with application.cfc on BlueDragon.NET after 7.1.0.382 update?

2009-09-11 Thread Casey Dougall

On Fri, Sep 11, 2009 at 1:16 PM, Casey Dougall 
ca...@uberwebsitesolutions.com wrote:


 Server Error in '/' Application.
 --
  *Object reference not set to an instance of an object*




I don't know WHY but cfcomponent tag was missing in Application.cfc but once
I put those in place it fixed the issue.

Not sure how this worked in previous versions. Thats and odd one. Guess this
update isn't as backwards compatible as they though ;-)


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326236
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


need a small open source project

2009-09-11 Thread s. isaac dealey

Hi all, 

I'm working on the CacheBox project and I wanted to include a sample in
the distribution. Originally I thought I might include BlogCFC because I
knew it cached a lot of data, but the project has become rather large
since the last time I looked at it. Does anyone know of another open
source project that's smaller and caches its data? Or have an older
version of BlogCFC laying around? 

Thanks!

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 817.385.0301

http://onTap.riaforge.org/blog



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326237
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF Blog App with pinging and linkbacks

2009-09-11 Thread Raymond Camden

Have you checked RIAForge?

Not sure what you mean by Ping-O-Matic. BlogCFC supports pinging N
services on blog entry writing. As for linkbacks - if you mean
trackbacks, BlogCFC supports it, but no one uses it. TBs just become
spam baits.


On Fri, Sep 11, 2009 at 12:02 PM, Terry Troxel te...@it-werks.com wrote:


 Are there any open source CF Blogs that enable services like Ping-O-Matic
 and or linkbacks?

 Terry Troxel



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Is this possible with component methods in cf8?

2009-09-11 Thread Rick Faircloth

What I'd like to do concerns uploading and processing images which sometimes
takes

awhile and leaves the user wondering what's happening while they're waiting.

 

If the user is uploading, say 10 photos, and all the photos have to be
resized into two different

images, renamed, saved, etc., the process can take some time.

 

I was wondering if I could set up a method of process 1 images, then return
the name of the

image to the user via ajax, with a message such as Image house1.jpg
processed., then when

image two has been uploaded and processed, Image house2.jpg processed,
etc. until all

images have been processed.

 

This would keep the user informed of the progress and keep them from
worrying that the

process was hanging up.

 

So, the question is, can messages (via cfreturn) be sent back to the client
multiple times

from a method?  Or perhaps there's a different way to achieve this?

 

Any suggestions or ideas?

 

Thanks,

 

Rick

 


---

Those who hammer their guns into plows will plow for those who do not.  -
Thomas Jefferson

 




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326239
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Is this possible with component methods in cf8?

2009-09-11 Thread Barney Boisvert

You can't send anything back to the user until all the photos are
uploaded, but once that's done, you can just leave them on disk,
record the fact that they're there in session scope, and return a
response after kicking off a background thread to process the images.
That background thread should update the same session scope data
structures, which you can interrogate via Ajax requests to update the
user on progress.

If you need status updates while the actual upload is happening,
you'll have to use a Flash uploader or something

cheers,
barneyb

On Fri, Sep 11, 2009 at 9:48 PM, Rick Fairclothr...@whitestonemedia.com wrote:

 What I'd like to do concerns uploading and processing images which sometimes
 takes

 awhile and leaves the user wondering what's happening while they're waiting.



 If the user is uploading, say 10 photos, and all the photos have to be
 resized into two different

 images, renamed, saved, etc., the process can take some time.



 I was wondering if I could set up a method of process 1 images, then return
 the name of the

 image to the user via ajax, with a message such as Image house1.jpg
 processed., then when

 image two has been uploaded and processed, Image house2.jpg processed,
 etc. until all

 images have been processed.



 This would keep the user informed of the progress and keep them from
 worrying that the

 process was hanging up.



 So, the question is, can messages (via cfreturn) be sent back to the client
 multiple times

 from a method?  Or perhaps there's a different way to achieve this?



 Any suggestions or ideas?



 Thanks,



 Rick



 
 ---

 Those who hammer their guns into plows will plow for those who do not.  -
 Thomas Jefferson






 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326240
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4