Change photo option
-
In my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
-
In my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
SachinKumar M wrote:
for change photo option after saving image into server photo is not refreshing. it is showing old photo only..
Are you clearing the browser's cache?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
In my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
-
SachinKumar M wrote:
for change photo option after saving image into server photo is not refreshing. it is showing old photo only..
Are you clearing the browser's cache?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
no i am not clearing browser's cache.. is it required to clear browser's cache. if yes tell me how to clear browsrs cache... Thank you..
-
no i am not clearing browser's cache.. is it required to clear browser's cache. if yes tell me how to clear browsrs cache... Thank you..
SachinKumar M wrote:
is it required to clear browser's cache.
Problem is browser cache. But AFAIK, you can't clear it from the code. When you upload new image, just attach a timestamp or GUID with the URL. So browser will think it as a new URL as load again.
Navaneeth How to use google | Ask smart questions
-
In my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
-
In my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
My problem solved after appending DateTime.Now.Ticks to my ImageUrl. thank you all..
-
My problem solved after appending DateTime.Now.Ticks to my ImageUrl. thank you all..
Cool. Glad to hear you solve it :)
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham