Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > datalist and cache

Reply
Thread Tools

datalist and cache

 
 
Ados
Guest
Posts: n/a
 
      05-10-2005
Hi,

first of all sorry for my not very good English.

I have upload button in my aspx file and when the user doing upload of image
file, the image is resized and it is showed in data list. In the same cell
next to the image is button "Remove" which actually deletes the picture from
the server and the path from database and rebinds the datalist. The problem
is that when I click button "Remove" and then upload new picture in the
datalist I see the old already deleted picture, despite of the fact that in
my upload directory I can see that the old picture is deleted and there is
new one.

I think that the problem is with the cache, because I give the same name of
the picture (the name is user id and number of the picture like "12_02")

Everything is working perfect when my browser checking for new version of
files every time.

So is there any way I can force the browser to check for new version of
image?

Thanks a lot


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no-cache - need to reload page from server and not the cache John HTML 2 10-29-2006 05:35 PM
What's the purpose of the helper cache and is there a way to just turn off helper cache-ing? kevin Ruby 1 07-21-2006 03:42 AM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Page.Cache vs HttpContext.Current.Cache DesignerX ASP .Net 5 01-20-2004 10:55 PM
Cache::Cache Stale Segments Jeff Nokes Perl 0 09-30-2003 04:34 PM



Advertisments