Results 1 to 5 of 5

Thread: Communicating between Delphi App and Browser App

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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.

  2. #2
    I had considered a local database but I thought it might be overkill. I already a mini-web server on the workstation and the embedded chromium simply display the "web" on that TinyWebServer. It works nicely, the server is started by the browser app and closed down when it is no longer required. I would have to see if I can run a database on either the tiny webserver or the browser app. I will look into it.

    cheers
    The views expressed on this programme are bloody good ones. - Fred Dagg

  3. #3
    The solution was pretty obvious in the end. I am using ajax to send info to the TinyWebServer that then makes the info known to the browser app. Problem sorted.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  4. #4
    I guess you could also use cookies for that. folder for storing cache can be set in dcef so it persists between sessions

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •