Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary JPG Images
Message
General information
Forum:
Microsoft IIS Server
Category:
Other
Title:
Temporary JPG Images
Miscellaneous
Thread ID:
00243988
Message ID:
00243988
Views:
49
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.
Reply
Map
View

Click here to load this message in the networking platform