Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temporary JPG Images
Message
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Autre
Titre:
Temporary JPG Images
Divers
Thread ID:
00243988
Message ID:
00243988
Vues:
54
I'm writing some code to send requested .JPG images from a web server to a web browser.

Before you get too excited, settle down... They are images of bills of lading, nothing spicy. :)

Anyway, everything is worked out, I just need to send a .JPG from the server to the web browser, but I'm not sure how to do this. The image will just be a temporary image (unlike like most static web pages).

The only thing I can come up with is to create a temporary image in a temporary directory with Web access permissions, then dump a temporary .JPG image in it with a random file name and include the path and file name to the .JPG image in the DHTML being sent to the Web Browser. Then I'd have to clean up the directory by deleting images over 5 minutes old or something.

I really don't like the upkeep part (deleting images every so-often) of this method.

Does anybody know of an easier way? I'm not out to re-invent the wheel.
Répondre
Fil
Voir

Click here to load this message in the networking platform