deleting temp images 
Author Message
 deleting temp images
Hello all,
I am using Shotgraph to dynamically generate images for my asp pages, and
I'm trying to determine the most efficient way to delete the generated
images after they are sent to the client.  Ideally, I'd like to be able to
delete each image right after they've been sent to the client.  I've tried
using the File System Object to delete the image, but I don't know of any
way to implement the File System Object on the same asp page without
deleting the file before it's sent to the client (and that includes turning
the buffer off).  I've also considered using a session variable to store the
names of each image generated (the names are random strings) and delete
those images at the end of the session, but if the client doesn't allow
cookies that won't work (I am right there?!)   I would really appreciate any
tips or solutions on this issue.  Thanks in advance,

minime2323
The jolly green midget



Sun, 25 Jul 2004 23:50:04 GMT  
 deleting temp images
Hello all,
I am using Shotgraph to dynamically generate images for my asp pages, and
I'm trying to determine the most efficient way to delete the generated
images after they are sent to the client.  Ideally, I'd like to be able to
delete each image right after they've been sent to the client.  I've tried
using the File System Object to delete the image, but I don't know of any
way to implement the File System Object on the same asp page without
deleting the file before it's sent to the client (and that includes turning
the buffer off).  I've also considered using a session variable to store the
names of each image generated (the names are random strings) and delete
those images at the end of the session, but if the client doesn't allow
cookies that won't work (I am right there?!)   I would really appreciate any
tips or solutions on this issue.  Thanks in advance,

minime2323
The jolly green midget



Sun, 25 Jul 2004 23:45:45 GMT  
 deleting temp images
You can write a small .VBS script performing such removing, for example,
removing files older than 1 day. This script can easy be executed from
schedule service ('at' command from command line) automatically once every
day.

Best regards,
Mikhail.


Quote:
> Hello all,
> I am using Shotgraph to dynamically generate images for my asp pages, and
> I'm trying to determine the most efficient way to delete the generated
> images after they are sent to the client.  Ideally, I'd like to be able to
> delete each image right after they've been sent to the client.  I've tried
> using the File System Object to delete the image, but I don't know of any
> way to implement the File System Object on the same asp page without
> deleting the file before it's sent to the client (and that includes
turning
> the buffer off).  I've also considered using a session variable to store
the
> names of each image generated (the names are random strings) and delete
> those images at the end of the session, but if the client doesn't allow
> cookies that won't work (I am right there?!)   I would really appreciate
any
> tips or solutions on this issue.  Thanks in advance,

> minime2323
> The jolly green midget



Mon, 26 Jul 2004 04:34:34 GMT  
 deleting temp images
You can make an deleteFile.exe
It will use Timer and remove files older then MyDate.
Start deleteFile.exe as a service.

Jacek :-)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Mon, 26 Jul 2004 06:05:02 GMT  
 deleting temp images


Quote:
> You can make an deleteFile.exe
> It will use Timer and remove files older then MyDate.
> Start deleteFile.exe as a service.

> Jacek :-)

Aha, that makes sense...thanks!
Quote:

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Mon, 26 Jul 2004 06:37:14 GMT  
 deleting temp images
I think that's what I'll do.  Thanks!


Quote:
> You can write a small .VBS script performing such removing, for example,
> removing files older than 1 day. This script can easy be executed from
> schedule service ('at' command from command line) automatically once every
> day.

> Best regards,
> Mikhail.



> > Hello all,
> > I am using Shotgraph to dynamically generate images for my asp pages,
and
> > I'm trying to determine the most efficient way to delete the generated
> > images after they are sent to the client.  Ideally, I'd like to be able
to
> > delete each image right after they've been sent to the client.  I've
tried
> > using the File System Object to delete the image, but I don't know of
any
> > way to implement the File System Object on the same asp page without
> > deleting the file before it's sent to the client (and that includes
> turning
> > the buffer off).  I've also considered using a session variable to store
> the
> > names of each image generated (the names are random strings) and delete
> > those images at the end of the session, but if the client doesn't allow
> > cookies that won't work (I am right there?!)   I would really appreciate
> any
> > tips or solutions on this issue.  Thanks in advance,

> > minime2323
> > The jolly green midget



Mon, 26 Jul 2004 06:38:21 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Display Image in picturebox from db image field without temp file

2. Deleting Temp internet files

3. Delete all temp internet files for all users

4. Delete temp.internet files ecc..(newbie)

5. How can I delete cookies and temp internet files w/VBS

6. Deleting Temp Internet files, new approach ?

7. Delete cookies and temp. inet files with VBS

8. Deleting Temp Internet Files via script

9. Delete temp file

10. Deleting Temp Internet Files via script

11. deleting temp internet files through script

12. Trying to Delete a temp file

 

 
Powered by phpBB® Forum Software