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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -