Many thanks to bob3160 for the information that Avast 2017 On-line Security saves user settings as cookies in FireFox.
This must be a Very Bad Idea, particularly for those who ask FF to clean the cookie cache On Shutdown - if only to control the build-up of cookies. FF disposes of everything and there is no way to set exceptions. End result is that I lose the global settings for Avast On-line Security each time I close FF.
Using about:config in FF there is the setting privacy.clearOnShutdown.cookies. This is a Boolean setting and there is no option of defining exceptions.
Not easy to understand why Avast has chosen to use cookies in this way, particularly as a security product should enable the user to remain secure.
Is there a work around in this instance?
In the next software update should Avast store the setting data under AppData in Windows rather than as a cookie?