Current location: Hot Scripts Forums » Programming Languages » ASP » Cached images drivingme nuts


Cached images drivingme nuts

Reply
  #1 (permalink)  
Old 08-16-04, 11:58 AM
Mikeirv Mikeirv is offline
Newbie Coder
 
Join Date: May 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Cached images drivingme nuts

Ok, here is my question. I have a site where people can upload images. I store the images in a folder that is unique to the user. Let's say I am logged in and my upload folder is name "MyUploads". I can only upload 10 photos. So, when I upload a photo it gets put in "MyUploads" and it gets named "01,jpg". The next one I upload gets named "02.jpg". This goes on until I have 10 images in my folder.

No, I go an delete the photo named 10.jpg. This removes the reference from the Database, and it removes the file 10.jpg from the server. I then upload a new photo. Which gets put int "MyUploads" and it gets named 10.jpg.

Here lies the problem. Since it is named 10.jpg. I still see the old image. Of course, once I refresh, I see the new. Unforunatley, most users think cache is something they use to buy lunch! I use the no-cache settings for my ASP and they work beutifully on the code. the problem is that actual image in cache. Is there any way to tell the client machine to dump the image out of cache. I would prefer this to reloading the page.

If anyone can help I would appreciate it!!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/PHP not displaying images mdhall PHP 4 01-28-06 01:01 PM
count images in a directory using javascript chuck JavaScript 5 12-05-03 01:20 PM
images hosting uae2k Script Requests 3 11-03-03 10:29 AM
List images and zip before download jaimexyz Script Requests 0 09-01-03 03:01 PM
Showing images in a directory Bob PHP 4 08-25-03 08:16 AM


All times are GMT -5. The time now is 03:00 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.