dotnetnuke - How do you clear an Image from the DNN module cache -


i have dnn 7 custom module allows user select photo associated login. have set photo has name that's same each user (e.g. user1.jpg).

when user updates photo, still see old photo until logout , in again. i've confirmed image on disk correct dnn going cache old photo. how clear module's cache during post c#.

thanks in advance.

to clear module cache, can use method datacache.clearmodulecache(tabid). based on requirement can use methods config.touch() complete app recycle. namespace dotnetnuke.common.utilities.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -