I am working with a DNN 6.01 installation, where we create new subdomains + portal aliases for new users. If relevant, we are working with C#.
This mostly works great, however at present if we rename one of the subdomain/alias pairs (say, due to a typo on creation or something) the change doesn't take effect until we recycle the app pool. As this is a live application with thousands of users and eCommerce solutions, resetting everyone's session randomly is not acceptable. Waiting until a nightly recycle for subdomain/alias changes to take effect is less than ideal.
It would also be preferable to do this programatically so that I can simply incorporate it into the module that manages the subdomain/alias pairs.
How can I programatically refresh the DNN Portal Alias Cache without recycling the app pool and/or dropping sessions?