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

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111757
interpreted = N
texte = --Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks Christer Your suggestion to use [closedatabase db=3Dyourdatabase.db&commit=3DF] = actually worked quite nice as I found a way to make a request to WebDNA = where it activated the command. All is good Thanks a lot /Palle > On 10/12/2014, at 20.33, Christer Olsson = wrote: >=20 > Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. >=20 > Best, > Christer >=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:31 skrev Palle Bo Nielsen >: >=20 >> 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 >> --------------------------------------------------------- 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.us --Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Thanks Christer

Your suggestion to use =  [closedatabase db=3Dyourdatabase.db&commit=3DF] actually = worked quite nice as I found a way to make a request to WebDNA where it = activated the command.

All is good

Thanks a lot

/Palle


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

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/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

= --Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875-- Associated Messages, from the most recent to the oldest:

    
--Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks Christer Your suggestion to use [closedatabase db=3Dyourdatabase.db&commit=3DF] = actually worked quite nice as I found a way to make a request to WebDNA = where it activated the command. All is good Thanks a lot /Palle > On 10/12/2014, at 20.33, Christer Olsson = wrote: >=20 > Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. >=20 > Best, > Christer >=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:31 skrev Palle Bo Nielsen >: >=20 >> 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 >> --------------------------------------------------------- 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.us --Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Thanks Christer

Your suggestion to use =  [closedatabase db=3Dyourdatabase.db&commit=3DF] actually = worked quite nice as I found a way to make a request to WebDNA where it = activated the command.

All is good

Thanks a lot

/Palle


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

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/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

= --Apple-Mail=_73A94C69-6678-4F52-8DD9-4FD4C5243875-- Palle Bo Nielsen

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:

OT: fckeditor weirdness (2005) WebCat2: Master Counter snippet (1997) Categories and Sub-categories (2003) [append] and SSL (1997) Multi-Row Tables from a search. (1997) Frames and WebCat (1997) RE: Include (1998) remotely add + sign (1997) Running _every_ page through WebCat ? (1997) WebCat2 - storing unformatted date data? (1997) Thanks for tips, more quest (1997) WebCat editing, SiteGuard & SiteEdit (1997) How flexible is Shipping? (1997) [shownext] and sort (1998) Exclamation point (1997) How true is this? (1999) RequiredFields template (1997) template security preferences????? (1998) [protect admin] (1997) Problems getting parameters passed into email. (1997)