Re: Same Database needed on two machines

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41019
interpreted = N
texte = >On master site, create a page that simply returns the contents of >the database, verbatim - just [include file=the.db]. > >On slave site, create a trigger that does a [tcpconnect] to the >above page on the master site, then replaces the database with the >new data (closedatabase, then writefile). Have the trigger fire as >often as you like.Don't forget to flush the db to disk on the master immediately before you include the db file, or it may not have all the current RAM-cached data in it. Unless of course your prefs on the master are set to always write all db changes to disk, in which case you shouldn't have to flush to disk again before including the db file on the master ... Sincerely, Kenneth Grome------------------------------------------------------------- Kenneth Grome & Associates US-Asian Business Specialists Philippine Business Office +63 (32) 255-6921 Primary Email Address owner@kengrome.com Alternate Email Address kengrome@webdna.net -------------------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Same Database needed on two machines (Kenneth Grome 2002)
  2. Re: Same Database needed on two machines (Brian Fries 2002)
  3. Re: Same Database needed on two machines (Jeff Logan 2002)
  4. Re: Same Database needed on two machines (dale 2002)
  5. Re: Same Database needed on two machines (Bob Minor 2002)
  6. Re: Same Database needed on two machines (Jesse Williams-Proudman 2002)
  7. Re: Same Database needed on two machines (Jeff Logan 2002)
  8. Re: Same Database needed on two machines (Jesse Williams-Proudman 2002)
  9. Re: Same Database needed on two machines (Jeff Logan 2002)
  10. Re: Same Database needed on two machines (Jesse Williams-Proudman 2002)
  11. Re: Same Database needed on two machines (Jeff Logan 2002)
  12. Re: Same Database needed on two machines (Jesse Williams-Proudman 2002)
  13. Same Database needed on two machines (Jeff Logan 2002)
>On master site, create a page that simply returns the contents of >the database, verbatim - just [include file=the.db]. > >On slave site, create a trigger that does a [tcpconnect] to the >above page on the master site, then replaces the database with the >new data (closedatabase, then writefile). Have the trigger fire as >often as you like.Don't forget to flush the db to disk on the master immediately before you include the db file, or it may not have all the current RAM-cached data in it. Unless of course your prefs on the master are set to always write all db changes to disk, in which case you shouldn't have to flush to disk again before including the db file on the master ... Sincerely, Kenneth Grome------------------------------------------------------------- Kenneth Grome & Associates US-Asian Business Specialists Philippine Business Office +63 (32) 255-6921 Primary Email Address owner@kengrome.com Alternate Email Address kengrome@webdna.net -------------------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

First n words (2000) Size limit for tmpl editor ? (1997) autosensing lanague selection (1997) won't serve .tpl -not permissions- can't process .tpl (2000) [isfolder] and [filename] (1997) Separate SSL Server (1997) Make sure I understand this??? (1997) Upgrade to WebCat2 from Commerce Lite (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Error with [applescript] (1999) [ShowIf] and empty fields (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] [ReturnRaw] problem (2010) hideif glitch (2003) Stripping attachments in shared pop (2005) Introduction/Tutorial/QuickStart (1997) (1998) [WebDNA] ReturnRaw and binarybody (2013) select multiple (1997) 4.0 upgrade pricing (2000)