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 -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -