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

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111756
interpreted = N
texte = --Apple-Mail-65681101-A2C9-48B1-A285-F9B713366F0B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Create a special closedb.tpl page with the [closedatabase] tag and have your= perl script to load the closedb.tpl when the updated db is written.=20 Skickat fr=C3=A5n min iPhone > 10 dec 2014 kl. 20:40 skrev Palle Bo Nielsen : >=20 > Hi Christer >=20 > Meaning that WebDNA will discard the memory and read from the file.db when= it needs data again. >=20 > But in my situation WebDNA does not now when to discard the data in memory= since the updated file content does not Flag that it's has changed. >=20 > Hmmm, thinking=E2=80=A6 I think the solution i half way and in the right d= irection - last mile is needed. >=20 > /Palle >=20 >=20 >> On 10/12/2014, at 20.33, Christer Olsson wrote: >>=20 >> Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] sho= uld do the trick. >>=20 >> Best, >> Christer >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=C3=A9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >>> 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen := >>>=20 >>> Hi Christer >>>=20 >>> Thanks, I will try this, but=E2=80=A6 >>>=20 >>> It was my opinion that [closedatabase] committed the memory to file. I n= eed for WebDNA to discard or whatever what is in memory and then only adapt t= o 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=C3=A9er 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 p= arses 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 mem= ory and uses it to populate certain webpage. But, then=E2=80=A6 >>>>>=20 >>>>> But then my Perl script whacks the external data once again (does it e= very 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 Flushdat= abases command, which I would like to avoid. WebDNA does acknowledge using Fi= leinfo that the file has been updated but the new data is to populated into t= he 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=E2=80=A6 >>>>>=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 i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>>=20 >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: 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 Reporti= ng: support@webdna.us >=20 > --------------------------------------------------------- This message is s= ent 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-65681101-A2C9-48B1-A285-F9B713366F0B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Create a special closedb.tpl page with= the [closedatabase] tag and have your perl script to load the closedb.tpl w= hen the updated db is written. 

Skickat fr=C3=A5n min iPhone

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

<= blockquote type=3D"cite">
Hi Christer

Meaning that WebDNA will discard t= he memory and read from the file.db when it needs data again.

But in my situation WebDNA does n= ot now when to discard the data in memory since the updated file content doe= s not Flag that it's has changed.

=
Hmmm, thinking=E2=80=A6 I think the solution i half way and i= n the right direction - last mile is needed.

/Palle

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

Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&am= p;commit=3DF] should do the trick.

Best,
Christer
=
 = *************************************************************
=  Christer Olsson   PO Box 9160        Pho= ne +46 40 25 85 85
 Ljusa Id=C3=A9er AB    SE-2= 00 39 Malmo    Fax +46 40 25 85 89

10 dec 2014 kl. 20:31 skrev P= alle Bo Nielsen <p= owerpalle@powerpalle.dk>:

Hi Christer

Thanks, I will try this, but=E2=80=A6

It was my opinion that [closeda= tabase] committed the memory to file. I need for WebDNA to discard or whatev= er what is in memory and then only adapt to whats inside the physical file.d= b.

/Palle 


On 10/12/2014, at 20.22, Chr= ister Olsson <christ= er@ljusaideer.se> wrote:

[closed= atabase db=3Dyourdatabase.db]

=
 = *************************************************************
=  Christer Olsson   PO Box 9160        Pho= ne +46 40 25 85 85
 Ljusa Id=C3=A9er AB    SE-2= 00 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 th= en parses it into a file.db.

A file.hdr already= exists and the WebDNA website which needs this data works fine with that. T= hat means WebDNA ia taking the file.db data into memory and uses it to popul= ate certain webpage. But, then=E2=80=A6

But the= n my Perl script whacks the external data once again (does it every hour) an= d parses the data into the file.db (exchanges the exiting data). But the Web= DBA memory does not adopt the new data unless I make a Flushdatabases comman= d, which I would like to avoid. WebDNA does acknowledge using Fileinfo that t= he file has been updated but the new data is to populated into the webpage.<= br class=3D"">
So the question.

W= hat can I do in stead of using Flushdatabases? I need WebDNA to adopt/read t= he new data from the file=E2=80=A6

/Palle------= ---------------------------------------------------
This messa= ge is sent to you because you are subscribed to
the mailing li= st <talk@webdna.us>.<= br class=3D"">To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.web= dna.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: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.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= --Apple-Mail-65681101-A2C9-48B1-A285-F9B713366F0B-- 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-65681101-A2C9-48B1-A285-F9B713366F0B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Create a special closedb.tpl page with the [closedatabase] tag and have your= perl script to load the closedb.tpl when the updated db is written.=20 Skickat fr=C3=A5n min iPhone > 10 dec 2014 kl. 20:40 skrev Palle Bo Nielsen : >=20 > Hi Christer >=20 > Meaning that WebDNA will discard the memory and read from the file.db when= it needs data again. >=20 > But in my situation WebDNA does not now when to discard the data in memory= since the updated file content does not Flag that it's has changed. >=20 > Hmmm, thinking=E2=80=A6 I think the solution i half way and in the right d= irection - last mile is needed. >=20 > /Palle >=20 >=20 >> On 10/12/2014, at 20.33, Christer Olsson wrote: >>=20 >> Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] sho= uld do the trick. >>=20 >> Best, >> Christer >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=C3=A9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >>> 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen := >>>=20 >>> Hi Christer >>>=20 >>> Thanks, I will try this, but=E2=80=A6 >>>=20 >>> It was my opinion that [closedatabase] committed the memory to file. I n= eed for WebDNA to discard or whatever what is in memory and then only adapt t= o 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=C3=A9er 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 p= arses 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 mem= ory and uses it to populate certain webpage. But, then=E2=80=A6 >>>>>=20 >>>>> But then my Perl script whacks the external data once again (does it e= very 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 Flushdat= abases command, which I would like to avoid. WebDNA does acknowledge using Fi= leinfo that the file has been updated but the new data is to populated into t= he 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=E2=80=A6 >>>>>=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 i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>>=20 >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: 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 Reporti= ng: support@webdna.us >=20 > --------------------------------------------------------- This message is s= ent 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-65681101-A2C9-48B1-A285-F9B713366F0B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Create a special closedb.tpl page with= the [closedatabase] tag and have your perl script to load the closedb.tpl w= hen the updated db is written. 

Skickat fr=C3=A5n min iPhone

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

<= blockquote type=3D"cite">
Hi Christer

Meaning that WebDNA will discard t= he memory and read from the file.db when it needs data again.

But in my situation WebDNA does n= ot now when to discard the data in memory since the updated file content doe= s not Flag that it's has changed.

=
Hmmm, thinking=E2=80=A6 I think the solution i half way and i= n the right direction - last mile is needed.

/Palle

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

Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&am= p;commit=3DF] should do the trick.

Best,
Christer
=
 = *************************************************************
=  Christer Olsson   PO Box 9160        Pho= ne +46 40 25 85 85
 Ljusa Id=C3=A9er AB    SE-2= 00 39 Malmo    Fax +46 40 25 85 89

10 dec 2014 kl. 20:31 skrev P= alle Bo Nielsen <p= owerpalle@powerpalle.dk>:

Hi Christer

Thanks, I will try this, but=E2=80=A6

It was my opinion that [closeda= tabase] committed the memory to file. I need for WebDNA to discard or whatev= er what is in memory and then only adapt to whats inside the physical file.d= b.

/Palle 


On 10/12/2014, at 20.22, Chr= ister Olsson <christ= er@ljusaideer.se> wrote:

[closed= atabase db=3Dyourdatabase.db]

=
 = *************************************************************
=  Christer Olsson   PO Box 9160        Pho= ne +46 40 25 85 85
 Ljusa Id=C3=A9er AB    SE-2= 00 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 th= en parses it into a file.db.

A file.hdr already= exists and the WebDNA website which needs this data works fine with that. T= hat means WebDNA ia taking the file.db data into memory and uses it to popul= ate certain webpage. But, then=E2=80=A6

But the= n my Perl script whacks the external data once again (does it every hour) an= d parses the data into the file.db (exchanges the exiting data). But the Web= DBA memory does not adopt the new data unless I make a Flushdatabases comman= d, which I would like to avoid. WebDNA does acknowledge using Fileinfo that t= he file has been updated but the new data is to populated into the webpage.<= br class=3D"">
So the question.

W= hat can I do in stead of using Flushdatabases? I need WebDNA to adopt/read t= he new data from the file=E2=80=A6

/Palle------= ---------------------------------------------------
This messa= ge is sent to you because you are subscribed to
the mailing li= st <talk@webdna.us>.<= br class=3D"">To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.web= dna.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: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: h= ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdn= a.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= --Apple-Mail-65681101-A2C9-48B1-A285-F9B713366F0B-- 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:

RAM variables (1997) Max Record length (1997) b12 cannot limit records returned and more. (1997) Trouble with Showif and Search (1998) Pithy questions on webcommerce & siteedit (1997) Erotic Sites (1997) Item counting? (1998) [ModDate] & [ModTime] ? (1997) WSDL Wizard (2003) [math] variable question (1997) WebCatalog2 Feature Feedback (1996) WebCat editing, SiteGuard & SiteEdit (1997) Correct Owners & Permissions? (2000) searching with groups (1997) WebMerchant 1.6 and https (1997) Download Question (1997) Shopping Cart Problem (1998) setitems, one more thing (1997) This message couldn't reach the list! (1998) Using Plug-In while running 1.6.1 (1997)