gpalmer711
IS-IT--Management
Hi All,
I'm developing a site at the moment which in effect will be a simple image hosting site. I will be creating the images using some asp.net code (System.Net.Graphics) and these images will be updated every 30 minutes. This all works fine, however What i now need to do is factor in times when the image does not exist as it is the first time they are using the system. So for example if someone links to <img src=" if imagename.jpg does not exist I want it to be created.
I figured I could just use a custom 404 page and have that redirect to the page that creates the image and then have that redirect to the image. However I just thought I would see if anyone here knows of a better way of doing it.
The site will be hosting on a Windows 2003 server using IIS6.
Many Thanks
Greg Palmer
Freeware Utilities for Windows Administrators.
I'm developing a site at the moment which in effect will be a simple image hosting site. I will be creating the images using some asp.net code (System.Net.Graphics) and these images will be updated every 30 minutes. This all works fine, however What i now need to do is factor in times when the image does not exist as it is the first time they are using the system. So for example if someone links to <img src=" if imagename.jpg does not exist I want it to be created.
I figured I could just use a custom 404 page and have that redirect to the page that creates the image and then have that redirect to the image. However I just thought I would see if anyone here knows of a better way of doing it.
The site will be hosting on a Windows 2003 server using IIS6.
Many Thanks
Greg Palmer
Freeware Utilities for Windows Administrators.