Re: [WebDNA] A [FlushDatabases] for one DB only... request!

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103507
interpreted = N
texte = Palle, I don't have a direct answer (i.e. how to flush a specific .db), but I ha= ve always worked under=20 the impression that [flushdatabases] in general is never a bad thing, so = setting up a trigger to a=20 page (either in WebDNA, cron, or in your code somewhere) with a [flushdat= abases] in it should=20 solve your prob, no? -Dan On Mon, 31 Aug 2009 19:40:35 +0200 Palle Bo Nielsen wrote: > Hi all, >=20 > I need a function which makes a [FlushDatabases] for only one specific = Database? Does such a=20 >function/method exist? >=20 > Basically a remote server is putting a new db-file on my server every = hour. This file should be=20 >used by WebDNA but WebDNA does not discover that a newer file has arriv= ed (same name) and as=20 >such only the old content is being used in memory by WebDNA. >=20 > In my mind I just need to flush that db-file when it has been submitte= d to the server - but=20 >how...? >=20 > Palle > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&categor= y=3D288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] A [FlushDatabases] for one DB only... request! ("Dan Strong" 2009)
  2. Re: [WebDNA] A [FlushDatabases] for one DB only... request! (Brian Fries 2009)
  3. [WebDNA] A [FlushDatabases] for one DB only... request! (Palle Bo Nielsen 2009)
Palle, I don't have a direct answer (i.e. how to flush a specific .db), but I ha= ve always worked under=20 the impression that [flushdatabases] in general is never a bad thing, so = setting up a trigger to a=20 page (either in WebDNA, cron, or in your code somewhere) with a [flushdat= abases] in it should=20 solve your prob, no? -Dan On Mon, 31 Aug 2009 19:40:35 +0200 Palle Bo Nielsen wrote: > Hi all, >=20 > I need a function which makes a [flushdatabases] for only one specific = Database? Does such a=20 >function/method exist? >=20 > Basically a remote server is putting a new db-file on my server every = hour. This file should be=20 >used by WebDNA but WebDNA does not discover that a newer file has arriv= ed (same name) and as=20 >such only the old content is being used in memory by WebDNA. >=20 > In my mind I just need to flush that db-file when it has been submitte= d to the server - but=20 >how...? >=20 > Palle > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&categor= y=3D288 "Dan Strong"

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:

Credit Card Number checking (1997) Search results templates (1996) [movefile] (1999) [WebDNA] Book/Ship Amounts Different (2008) Need correct syntax for writing to header2 (1999) Searching Multiple DBs (1997) Thanks Grant (1997) Separate SSL Server (1997) [unitshipcost] values do NOT write to orderfile (1998) [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (2010) Getting total number of items ordered (1997) This list needs a digest: rant, rave... (1997) [ShowNext] (1997) Showif date range comparison (1999) member pages (2000) Search with Special Chars (1997) Loops N Variables (1998) can WC render sites out? (1997) IIS4 (1998) Using Applescript to process WebCatalog functions (1998)