Author: Simbalight | Posted on: 6/19/2008 4:26:59 AM | Views : 330

Hi!

I created an SL2 application that can be run with multiple parallel instances. There are some settings being stored in ApplicationSettings.

I recognized that each of the app instances keeps it's own in-memory copy of the settings. I can save them immediately by using the Save() method but I cannot find a way to load them when required.

This results in overwriting of the other instance's settings:



Settings: A B

AppInst1 startup, loading Settings: A B

AppInst2 startup, loading Settings: A B

AppInst1 changing setting B and writing Settings: A X

AppInst2 changing setting A and writing Settings: Y B

Settings: Y B (should be Y X)
If there was a Load() method I could simply load the current settings before performing changes. Can I force a Load() in some way or solve this in another way?

&n ...

Go to the complete details ...