G
Guest
The basic purpose of the site is for authenticated users to post event
listings, which often include photographs. The user is faced with a page
where they can insert all of the information about the event in a typical
form with textboxes, drop down lists, etc. On this page there are also 4
file upload controls where the user can select 0 to 4 images on their file
system for inclusion in the event listing. On submit, the images (if any)
are uploaded to the server and named based on the user id and picture number,
eg. 123456_01.jpg, 123456_02.jpg, etc. The user is shown a preview of the
event with the images. On submit the event is inserted in the database with
a return value of the pk or EventID number. This number is used to rename
the images, eg. 123456_01.jpg becomes 9876_01.jpg, 123456_02.jpg becomes
9876_02.jpg.
This generally works very well. The image upload directory is directly
under the root of the website and has full control for ASP.Net, Network
Service, Everyone. this is IIS6 on Server 2003. However, a very small
portion of our users report that when they go to upload more than one event,
when the preview shows up for the second event, the photos from the first
event show up. We also get reports that if they "shut down the computer and
reopen it" between each listing it works ok. This is not acceptable since we
get paid by the listing. I have requested of some users that they clear
their browser cache, delete all temporary files and cookies, and try again
but these users report that it still occurs.
Is this a file upload permissions problem, or is it somehow that images are
being cached somewhere since the name of the images on the preview page is
the same (username + image number + .jpg)?
If this is a caching problem is there some way to make sure that images are
not cached anywhere? What tags, if any can be used on the pages, or settings
in iis?
listings, which often include photographs. The user is faced with a page
where they can insert all of the information about the event in a typical
form with textboxes, drop down lists, etc. On this page there are also 4
file upload controls where the user can select 0 to 4 images on their file
system for inclusion in the event listing. On submit, the images (if any)
are uploaded to the server and named based on the user id and picture number,
eg. 123456_01.jpg, 123456_02.jpg, etc. The user is shown a preview of the
event with the images. On submit the event is inserted in the database with
a return value of the pk or EventID number. This number is used to rename
the images, eg. 123456_01.jpg becomes 9876_01.jpg, 123456_02.jpg becomes
9876_02.jpg.
This generally works very well. The image upload directory is directly
under the root of the website and has full control for ASP.Net, Network
Service, Everyone. this is IIS6 on Server 2003. However, a very small
portion of our users report that when they go to upload more than one event,
when the preview shows up for the second event, the photos from the first
event show up. We also get reports that if they "shut down the computer and
reopen it" between each listing it works ok. This is not acceptable since we
get paid by the listing. I have requested of some users that they clear
their browser cache, delete all temporary files and cookies, and try again
but these users report that it still occurs.
Is this a file upload permissions problem, or is it somehow that images are
being cached somewhere since the name of the images on the preview page is
the same (username + image number + .jpg)?
If this is a caching problem is there some way to make sure that images are
not cached anywhere? What tags, if any can be used on the pages, or settings
in iis?