Urgent: Help me ???
-
Hello all, I have a page .aspx that has image control to modify the information of a teacher But I have a problem: when I updated the image of a teacher, I dont known how to show the updated image of the teacher Although, I upload image file successfully but the browser still catches the old image please help me. Thanks in advance :((:zzz:
-
Hello all, I have a page .aspx that has image control to modify the information of a teacher But I have a problem: when I updated the image of a teacher, I dont known how to show the updated image of the teacher Although, I upload image file successfully but the browser still catches the old image please help me. Thanks in advance :((:zzz:
Don't know if this is what you need, but I think you need to force the page to reload when it is viewed, instead of viewing the cached version. There is the "Response.Expires = (Integer Amount)" that you can use for this, if my memory serves me. -1 as value should force the page to reload each time it is viewed as far as I recall There is something about the Response.Expires being deprecated, but I'm not terrible much into it (yet). I hope this helps. With regards. Alsvha --------------------------- 127.0.0.1 - Sweet 127.0.0.1
-
Don't know if this is what you need, but I think you need to force the page to reload when it is viewed, instead of viewing the cached version. There is the "Response.Expires = (Integer Amount)" that you can use for this, if my memory serves me. -1 as value should force the page to reload each time it is viewed as far as I recall There is something about the Response.Expires being deprecated, but I'm not terrible much into it (yet). I hope this helps. With regards. Alsvha --------------------------- 127.0.0.1 - Sweet 127.0.0.1
I already tried to do it: I put Response.Expires = -1 in event Page_Load but the problem still happen. I still tried to do: Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1)) the problem is still exist DO YOU HAVE ANOTHER WAY? thanks