one solution I can see right away is to run a server with the database on the workstation rather than online. then you can simply communicate with your database using the localhost address from both the browser and delphi. it should be reasonably fast and reliable. but you will have to remember to start the server every time you turn on the workstation.

the other way I can think of is to use the global storage, it should be available to any application.