Problem restoring from local storage

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem restoring from local storage

Post by salvadordf » Thu Nov 19, 2020 1:15 pm

It depends on what kind of data you have to share.

If it's a simple value you could use send it with IPC message to the other application instance.
You could also store that data in a common database protected by a named mutex and send a IPC messages to the other instance when it's ready.

However, if you need to share a lot of complex data then you might have to create a new application that would handle all your browsers. All the instances of your current application would communicate with your browser application like this :

Code: Select all

 |-------------------|           |---------------------|          |------------------|
 |                   |    IPC    |                     |    IPC   |                  |
 |   App instance 1  |  <----->  |  App with Browsers  |  <-----> |  App instance 2  |
 |                   |           |                     |          |                  |
 |-------------------|           |---------------------|          |------------------|

Post Reply