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

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111754
interpreted = N
texte = --001a113d12ec1be8140509e2529c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Maybe dynamically rename the header/db? ------------------------------------ Sent from phone -Dan Strong http://DanStrong.com On Dec 10, 2014 11:41 AM, "Palle Bo Nielsen" wrote: > Hi Christer > > Meaning that WebDNA will discard the memory and read from the file.db whe= n > it needs data again. > > But in my situation WebDNA does not now when to discard the data in memor= y > since the updated file content does not Flag that it's has changed. > > Hmmm, thinking=E2=80=A6 I think the solution i half way and in the right = direction > - last mile is needed. > > /Palle > > > On 10/12/2014, at 20.33, Christer Olsson wrote: > > Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] sho= uld > do the trick. > > Best, > Christer > > ************************************************************* > 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 > > 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen : > > Hi Christer > > Thanks, I will try this, but=E2=80=A6 > > 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 wrote: > > [closedatabase db=3Dyourdatabase.db] > > ************************************************************* > 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 > > 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen : > > 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=E2=80=A6 > > But then my Perl script whacks the external data once again (does it ever= y > 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 dat= a > 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=E2=80=A6 > > /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 > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s --001a113d12ec1be8140509e2529c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Maybe dynamically rename the header/db?

------------------------------------
Sent from phone

-Dan Strong
http://DanStrong.com

On Dec 10, 2014 11:41 AM, "Palle Bo Nielsen= " <powerpalle@powerpall= e.dk> wrote:
=
Hi Christer

Meaning that WebDNA will discard the memory and read from the file.db wh= en it needs data again.

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

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

/Palle


On 10/12/2014, at 20.33, Christ= er Olsson <c= hrister@ljusaideer.se> wrote:

Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&c= ommit=3DF] should do the trick.

Best,
Christer=

=C2= =A0*************************************************************
=C2=A0C= hrister Olsson =C2=A0 PO Box 9160=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0Phone +46 40 25 85 85
=C2=A0Ljusa Id=C3=A9er AB =C2=A0 =C2=A0SE-200 39= Malmo=C2=A0 =C2=A0=C2=A0Fax +46 40 25 85 89

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

Hi Christer

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

It was my opinion that [closedatabase] c= ommitted 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=C2=A0



[closedatabas= e db=3Dyourdatabase.db]

=C2= =A0*************************************************************
=C2=A0C= hrister Olsson =C2=A0 PO Box 9160=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0Phone +46 40 25 85 85
=C2=A0Ljusa Id=C3=A9er AB =C2=A0 =C2=A0SE-200 39= Malmo=C2=A0 =C2=A0=C2=A0Fax +46 40 25 85 89

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

Hi all,

I have made a Pe= rl 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 thi= s data works fine with that. That means WebDNA ia taking the file.db data i= nto memory and uses it to populate certain webpage. But, then=E2=80=A6
<= br>But then my Perl script whacks the external data once again (does it eve= ry 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 = Fileinfo that the file has been updated but the new data is to populated in= to the webpage.

So the question.

What can I do in stead of us= ing Flushdatabases? I need WebDNA to adopt/read the new data from the file= =E2=80=A6

/Palle----------------------------------------------------= -----
This message is sent to you because you are subscribed to
the m= ailing list <
talk@we= bdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives:= ht= tp://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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us
--001a113d12ec1be8140509e2529c-- 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)
--001a113d12ec1be8140509e2529c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Maybe dynamically rename the header/db? ------------------------------------ Sent from phone -Dan Strong http://DanStrong.com On Dec 10, 2014 11:41 AM, "Palle Bo Nielsen" wrote: > Hi Christer > > Meaning that WebDNA will discard the memory and read from the file.db whe= n > it needs data again. > > But in my situation WebDNA does not now when to discard the data in memor= y > since the updated file content does not Flag that it's has changed. > > Hmmm, thinking=E2=80=A6 I think the solution i half way and in the right = direction > - last mile is needed. > > /Palle > > > On 10/12/2014, at 20.33, Christer Olsson wrote: > > Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] sho= uld > do the trick. > > Best, > Christer > > ************************************************************* > 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 > > 10 dec 2014 kl. 20:31 skrev Palle Bo Nielsen : > > Hi Christer > > Thanks, I will try this, but=E2=80=A6 > > 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 wrote: > > [closedatabase db=3Dyourdatabase.db] > > ************************************************************* > 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 > > 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen : > > 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=E2=80=A6 > > But then my Perl script whacks the external data once again (does it ever= y > 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 dat= a > 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=E2=80=A6 > > /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 > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s > > > --------------------------------------------------------- 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.u= s --001a113d12ec1be8140509e2529c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Maybe dynamically rename the header/db?

------------------------------------
Sent from phone

-Dan Strong
http://DanStrong.com

On Dec 10, 2014 11:41 AM, "Palle Bo Nielsen= " <powerpalle@powerpall= e.dk> wrote:
=
Hi Christer

Meaning that WebDNA will discard the memory and read from the file.db wh= en it needs data again.

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

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

/Palle


On 10/12/2014, at 20.33, Christ= er Olsson <c= hrister@ljusaideer.se> wrote:

Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&c= ommit=3DF] should do the trick.

Best,
Christer=

=C2= =A0*************************************************************
=C2=A0C= hrister Olsson =C2=A0 PO Box 9160=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0Phone +46 40 25 85 85
=C2=A0Ljusa Id=C3=A9er AB =C2=A0 =C2=A0SE-200 39= Malmo=C2=A0 =C2=A0=C2=A0Fax +46 40 25 85 89

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

Hi Christer

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

It was my opinion that [closedatabase] c= ommitted 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=C2=A0


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

[closedatabas= e db=3Dyourdatabase.db]

=C2= =A0*************************************************************
=C2=A0C= hrister Olsson =C2=A0 PO Box 9160=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0Phone +46 40 25 85 85
=C2=A0Ljusa Id=C3=A9er AB =C2=A0 =C2=A0SE-200 39= Malmo=C2=A0 =C2=A0=C2=A0Fax +46 40 25 85 89

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

Hi all,

I have made a Pe= rl 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 thi= s data works fine with that. That means WebDNA ia taking the file.db data i= nto memory and uses it to populate certain webpage. But, then=E2=80=A6
<= br>But then my Perl script whacks the external data once again (does it eve= ry 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 = Fileinfo that the file has been updated but the new data is to populated in= to the webpage.

So the question.

What can I do in stead of us= ing Flushdatabases? I need WebDNA to adopt/read the new data from the file= =E2=80=A6

/Palle----------------------------------------------------= -----
This message is sent to you because you are subscribed to
the m= ailing list <
talk@we= bdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives:= ht= tp://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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us
--001a113d12ec1be8140509e2529c-- 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:

Seeking Better Display of results... (1997) [WebDNA] Dynamic vertical columns (2008) Re:multiple digests, please stop (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Server slowing down. (1997) 4.5.1 on Panther? (2004) same product in cart (1997) Help name our technology! (1997) Cart Unique After Rolling Back Time? (2001) WebCatalog 2.1 License for Sale (1998) Re:no [search] with NT (1997) Progress !! WAS: Trouble with formula.db (1997) Subtotal help (1997) Logging purchases (1997) Size limit for tmpl editor ? (1997) Extracting URL (2007) Showif for mulitple variations (1997) Problem displaying search result (1997) Move WebDNA DB to MySQL (2005) Form Weirdness (2002)