Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Problem restoring from local storage

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

Re: Problem restoring from local storage

Post by salvadordf »

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