Can store settings cache be dumped?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Can store settings cache be dumped?

Post by AbleMods » Mon Nov 30, 2015 3:51 am

I'm assuming AbleContext.Current.Store.Settings is cached, right?

Is there a way to dump it from cache and force a refresh from disk?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Can store settings cache be dumped?

Post by jmestep » Tue Dec 01, 2015 1:20 am

I have had to do the following in the past

Code: Select all

 IStoreSettingsProvider provider = AbleContext.Resolve<IStoreSettingsProvider>();
            provider.Reload();
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Can store settings cache be dumped?

Post by AbleMods » Tue Dec 01, 2015 2:06 am

Perfect, thanks Judy !
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply