2
Answers

cache removal from browser in dot net

tarun janveja

tarun janveja

7y
269
1
hy,
 
i have a website which hold the employee data of organisation.each emaployee image is saved with his  unique id alloted at time of joining.but when if any one change his image after login his id .and update his image old image still shows after refreshing browser 4-5 time new image appears .is there any way new image appears after updating old picture same time
 
i am saving picture in folder
Answers (2)
0
Pramod Thakur

Pramod Thakur

NA 7.3k 790.9k 7y
You can clear your browser cache manually or write a code for it. I am using jquery for it.
  
  1. $('.button').click(function() {  
  2.     $.ajax({  
  3.         url: "",  
  4.         context: document.body,  
  5.         success: function(s,x){  
  6.   
  7.             $('html[manifest=saveappoffline.appcache]').attr('content''');  
  8.                 $(this).html(s);  
  9.         }  
  10.     });   
  11. });  
 
 
0
Nilesh Shah

Nilesh Shah

NA 22.3k 214.4k 7y
mostly the proxy server caches the content of web pages,it's not your browser
 
if you check outside your organization it will be working.