Had a similar problem with cfx_graph recently - got round it by using a java
ap instead, but did look into the problem - sometimes the server will "lock"
a file/s in a queue - I created a tool that created a new "graph" based on
variables then updated this as and when, but when you went back to change
the variables it deleted the old graphs - this would work 3 times out of 4,
but the 4th would throw an error and all we could do was "wait". The two
solutions we came up with (until using a dynamic java ap instead) was:
1) schedule a cleanup.cfm page to run at night that cleans the temp image
folder of all images created during the day.
2) create a log-out sub-routine or session-end sub-routine that
moves/deletes the temp files.
If you want to create a unique user id every time try using the
#GetTickCount()# function that creates a microseconds number that will make
each file unique....
HTH
J
-----Original Message-----
From: Don Kiggins [mailto:[EMAIL PROTECTED]]
Sent: 14 September 2001 11:28
To: CF-Talk
Subject: problem with images
I don't think that many people saw this since I sent it shortly before
the tragedy on Tuesday, so I think I'll try once more.
I'm creating an image using cfx_image and letting the user preview
what the image looks like. Then if they want to make changes, I have
a form on the page which allows them to do this.
My problem: When I show the user the image it causes a problem when I
try to write to the image using cfx_image. I have tried writing it to
a temp image, deleting the original and renaming the new, but it then
has trouble deleting the old one. I think it's a similar problem to
locking an Access DB.
My question: Is there a way to make the server release the image?
Thanks.
Don Kiggins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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