Image refresh Problem
-
Hello All!! i am saving the logos of the companies in the a directory. the file name of the logo is kept as the id of the company in the db. my problem is that when i change the image(logo) the change is not reflected after the postback. i have to click refresh to see the change. I have clearing the cache at the same time redirecting to the same page also but it of no use. any help
Regards
-
Hello All!! i am saving the logos of the companies in the a directory. the file name of the logo is kept as the id of the company in the db. my problem is that when i change the image(logo) the change is not reflected after the postback. i have to click refresh to see the change. I have clearing the cache at the same time redirecting to the same page also but it of no use. any help
Regards
sabby2006 wrote:
the change is not reflected after the postback. i have to click refresh to see the change
Cache?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT. -
sabby2006 wrote:
the change is not reflected after the postback. i have to click refresh to see the change
Cache?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT. -
Hello All!! i am saving the logos of the companies in the a directory. the file name of the logo is kept as the id of the company in the db. my problem is that when i change the image(logo) the change is not reflected after the postback. i have to click refresh to see the change. I have clearing the cache at the same time redirecting to the same page also but it of no use. any help
Regards
sabby2006 wrote:
any help
You can fool browser by adding some querystring to image URL, and browser thinks it's a new image and it will reload it. So your image URL will look like
companylogo.jpg?foolBrowser=fooled
Change this querystring value each time with a random generated value. So browser will think it's a new image and will be forced to reload.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
sabby2006 wrote:
any help
You can fool browser by adding some querystring to image URL, and browser thinks it's a new image and it will reload it. So your image URL will look like
companylogo.jpg?foolBrowser=fooled
Change this querystring value each time with a random generated value. So browser will think it's a new image and will be forced to reload.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions