Re: [WebDNA] To Flush, to commit or to...?

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111751
interpreted = N
texte = --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. Best, Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen : > Hi Christer >=20 > Thanks, I will try this, but=85 >=20 > It was my opinion that [closedatabase] committed the memory to file. I = need for WebDNA to discard or whatever what is in memory and then only = adapt to whats inside the physical file.db. >=20 > /Palle=20 >=20 >=20 >> On 10/12/2014, at 20.22, Christer Olsson = wrote: >>=20 >> [closedatabase db=3Dyourdatabase.db] >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >> 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen = : >>=20 >>> Hi all, >>>=20 >>> I have made a Perl script which collects some external data and then = parses it into a file.db. >>>=20 >>> A file.hdr already exists and the WebDNA website which needs this = data works fine with that. That means WebDNA ia taking the file.db data = into memory and uses it to populate certain webpage. But, then=85 >>>=20 >>> But then my Perl script whacks the external data once again (does it = every hour) and parses the data into the file.db (exchanges the exiting = data). But the WebDBA memory does not adopt the new data unless I make a = Flushdatabases command, which I would like to avoid. WebDNA does = acknowledge using Fileinfo that the file has been updated but the new = data is to populated into the webpage. >>>=20 >>> So the question. >>>=20 >>> What can I do in stead of using Flushdatabases? I need WebDNA to = adopt/read the new data from the file=85 >>>=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 >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Ah. = Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the = trick.

Best,
Christer

 ************************************************= *************
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er AB =    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:=

Hi Christer

Thanks, I will try this, but=85

It was my opinion that = [closedatabase] committed the memory to file. I need for WebDNA to = discard or whatever what is in memory and then only adapt to whats = inside the physical file.db.

/Palle 


On 10/12/2014, at 20.22, Christer Olsson = <christer@ljusaideer.se> wrote:

[closedatabase = db=3Dyourdatabase.db]

 *********************************************************= ****
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er= AB    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 = kl. 20:11 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:

Hi all,

I have made a Perl = script which collects some external data and then parses it into a = file.db.

A file.hdr already exists and the = WebDNA website which needs this data works fine with that. That means = WebDNA ia taking the file.db data into memory and uses it to populate = certain webpage. But, then=85

But then my = Perl script whacks the external data once again (does it every hour) and = parses the data into the file.db (exchanges the exiting data). But the = WebDBA memory does not adopt the new data unless I make a Flushdatabases = command, which I would like to avoid. WebDNA does acknowledge using = Fileinfo that the file has been updated but the new data is to populated = into the webpage.

So the question.

What can I do in stead of using = Flushdatabases? I need WebDNA to adopt/read the new data from the = file=85

/Palle---------------------------------------------------------=
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

--------------------------------------------------------- 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 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D-- Associated Messages, from the most recent to the oldest:

    
  1. [SOLVED] Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  2. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  3. Re: [WebDNA] To Flush, to commit or to...? (Kenneth Grome 2014)
  4. Re: [WebDNA] To Flush, to commit or to...? (Dan Strong 2014)
  5. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  6. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  7. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  8. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  9. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  10. [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
--Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. Best, Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen : > Hi Christer >=20 > Thanks, I will try this, but=85 >=20 > It was my opinion that [closedatabase] committed the memory to file. I = need for WebDNA to discard or whatever what is in memory and then only = adapt to whats inside the physical file.db. >=20 > /Palle=20 >=20 >=20 >> On 10/12/2014, at 20.22, Christer Olsson = wrote: >>=20 >> [closedatabase db=3Dyourdatabase.db] >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >> 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen = : >>=20 >>> Hi all, >>>=20 >>> I have made a Perl script which collects some external data and then = parses it into a file.db. >>>=20 >>> A file.hdr already exists and the WebDNA website which needs this = data works fine with that. That means WebDNA ia taking the file.db data = into memory and uses it to populate certain webpage. But, then=85 >>>=20 >>> But then my Perl script whacks the external data once again (does it = every hour) and parses the data into the file.db (exchanges the exiting = data). But the WebDBA memory does not adopt the new data unless I make a = Flushdatabases command, which I would like to avoid. WebDNA does = acknowledge using Fileinfo that the file has been updated but the new = data is to populated into the webpage. >>>=20 >>> So the question. >>>=20 >>> What can I do in stead of using Flushdatabases? I need WebDNA to = adopt/read the new data from the file=85 >>>=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 >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Ah. = Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the = trick.

Best,
Christer

 ************************************************= *************
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er AB =    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:=

Hi Christer

Thanks, I will try this, but=85

It was my opinion that = [closedatabase] committed the memory to file. I need for WebDNA to = discard or whatever what is in memory and then only adapt to whats = inside the physical file.db.

/Palle 


On 10/12/2014, at 20.22, Christer Olsson = <christer@ljusaideer.se> wrote:

[closedatabase = db=3Dyourdatabase.db]

 *********************************************************= ****
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er= AB    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 = kl. 20:11 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:

Hi all,

I have made a Perl = script which collects some external data and then parses it into a = file.db.

A file.hdr already exists and the = WebDNA website which needs this data works fine with that. That means = WebDNA ia taking the file.db data into memory and uses it to populate = certain webpage. But, then=85

But then my = Perl script whacks the external data once again (does it every hour) and = parses the data into the file.db (exchanges the exiting data). But the = WebDBA memory does not adopt the new data unless I make a Flushdatabases = command, which I would like to avoid. WebDNA does acknowledge using = Fileinfo that the file has been updated but the new data is to populated = into the webpage.

So the question.

What can I do in stead of using = Flushdatabases? I need WebDNA to adopt/read the new data from the = file=85

/Palle---------------------------------------------------------=
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

--------------------------------------------------------- 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 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D-- Christer Olsson

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:

showif field is number (1997) something simple? (1998) redirect within the ErrorMessages.db (2003) PCS Frames (1997) downloading a file in it's own browser window? (2002) Nested tags count question (1997) Search/sort in URL Was: GuestBook example (1997) Auto Delete EmailCompleted Files (2002) Another question (1997) emailer settings and control questions (1997) Referrer field to header field conversion (1997) Search (1997) Car Database (2002) WebCatb15 Mac CGI -- [purchase] (1997) Invisible file issue now a real 'bug' (1999) Text limits in NT version? (1997) [WebDNA] Code Library (2013) Three new problems, maybe a fourth (1997) Security Tip (1996) WCS Newbie question (1997)