Click here to Skip to main content
15,890,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Refresh Image box problem Pin
Blue_Boy25-Jun-09 22:43
Blue_Boy25-Jun-09 22:43 
GeneralRe: Refresh Image box problem Pin
Any_India25-Jun-09 23:36
Any_India25-Jun-09 23:36 
GeneralRe: Refresh Image box problem Pin
Any_India25-Jun-09 22:56
Any_India25-Jun-09 22:56 
AnswerRe: Refresh Image box problem Pin
Blue_Boy25-Jun-09 22:57
Blue_Boy25-Jun-09 22:57 
GeneralRe: Refresh Image box problem Pin
Any_India25-Jun-09 23:34
Any_India25-Jun-09 23:34 
GeneralRe: Refresh Image box problem Pin
Enver Maroshi25-Jun-09 23:47
Enver Maroshi25-Jun-09 23:47 
GeneralRe: Refresh Image box problem Pin
Any_India26-Jun-09 0:05
Any_India26-Jun-09 0:05 
GeneralRe: Refresh Image box problem Pin
Enver Maroshi26-Jun-09 0:12
Enver Maroshi26-Jun-09 0:12 
There is no way that he would show you cached image if you would add query string to image. I do use asp.net everyday, but i don't use webforms, i write pure code with my own framework and template engine so i can not give you exact code you could make this in webforms.

Give your code after you applied what i wrote you to apply.

Now, why it shows same reason, if browser opens up image "members/member1.jpg" he will cache this image, and each time you request from same domain image from same path and file name, he will return you the one you cached. But if you cahnge image name, he will not return you cache, since you can not change image name, you can add up some query string to image, this way image name is the same, but is never read from cache if query stirng is always different. To browser "image.jpg" and "image.jpg?2343-234-234-23423-2342" is not the same thing, and this is when he starts to download fresh image from server instead of read it from cache.

Show your code you wrote after you applied what i wrote you to apply.
GeneralRe: Refresh Image box problem Pin
Any_India26-Jun-09 0:19
Any_India26-Jun-09 0:19 
GeneralRe: Refresh Image box problem Pin
Enver Maroshi26-Jun-09 0:22
Enver Maroshi26-Jun-09 0:22 
GeneralRe: Refresh Image box problem Pin
Enver Maroshi26-Jun-09 0:14
Enver Maroshi26-Jun-09 0:14 
GeneralRe: Refresh Image box problem Pin
Any_India26-Jun-09 0:30
Any_India26-Jun-09 0:30 
QuestionJava Script Pin
Amit Patel198525-Jun-09 21:35
Amit Patel198525-Jun-09 21:35 
AnswerRe: Java Script Pin
Enver Maroshi25-Jun-09 21:47
Enver Maroshi25-Jun-09 21:47 
AnswerRe: Java Script Pin
Abhishek Sur25-Jun-09 21:56
professionalAbhishek Sur25-Jun-09 21:56 
QuestionList items are not disabling in IE6 Pin
SRKSHOME25-Jun-09 21:20
SRKSHOME25-Jun-09 21:20 
AnswerRe: List items are not disabling in IE6 Pin
Manas Bhardwaj25-Jun-09 21:23
professionalManas Bhardwaj25-Jun-09 21:23 
QuestionNetwork printer issue in ASP.NET Pin
banerjins25-Jun-09 21:14
banerjins25-Jun-09 21:14 
AnswerRe: Network printer issue in ASP.NET Pin
Christian Graus25-Jun-09 21:19
protectorChristian Graus25-Jun-09 21:19 
AnswerRe: Network printer issue in ASP.NET Pin
himanshu256125-Jun-09 21:23
himanshu256125-Jun-09 21:23 
QuestionHow to select network printers Pin
banerjins25-Jun-09 21:11
banerjins25-Jun-09 21:11 
AnswerRe: How to select network printers Pin
Christian Graus25-Jun-09 21:18
protectorChristian Graus25-Jun-09 21:18 
QuestionProblem with code Pin
Girish48125-Jun-09 21:05
Girish48125-Jun-09 21:05 
AnswerRe: Problem with code Pin
Christian Graus25-Jun-09 21:17
protectorChristian Graus25-Jun-09 21:17 
GeneralRe: Problem with code Pin
Girish48125-Jun-09 21:23
Girish48125-Jun-09 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.