Re: [WebDNA] HTTP Streaming -- impossible?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105555
interpreted = N
texte = > I just ran a test, and entering all asterisks in the timer fields, including the "Second" field, results in a trigger that executes every second. Give it a try.Thanks for the test Brian, I should have thought of that. The instructions are wrong in this case, but at least it makes my trigger management easier ... :)> If you had a trigger that ran once per second and wrote the auction status to a text or xml file, you could use XMLHttpRequest (AJAX) to fetch that file from the client page and update the page content with the results. This would execute very fast, and not bother WebDNA with every client request, just with the once-per-second trigger.I was working on this approach a year ago or so on another website, but the project ended prematurely so I never learned how this works, and that's why I'm going to ask:How does the XMLHTTPRequest know when the file has changed on the server? It needs to know this so it can download the new and updated file, right?Sincerely,Kenneth Grome
Associated Messages, from the most recent to the oldest:
> I just ran a test, and entering all asterisks in the timer fields, including the "Second" field, results in a trigger that executes every second. Give it a try.Thanks for the test Brian, I should have thought of that. The instructions are wrong in this case, but at least it makes my trigger management easier ... :)> If you had a trigger that ran once per second and wrote the auction status to a text or xml file, you could use XMLHttpRequest (AJAX) to fetch that file from the client page and update the page content with the results. This would execute very fast, and not bother WebDNA with every client request, just with the once-per-second trigger.I was working on this approach a year ago or so on another website, but the project ended prematurely so I never learned how this works, and that's why I'm going to ask:How does the XMLHTTPRequest know when the file has changed on the server? It needs to know this so it can download the new and updated file, right?Sincerely,Kenneth Grome
Kenneth Grome
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:
PSC recommends what date format yr 2000??? (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
WebCatalog can't find database (1997)
Looking up two prices in Formulas.db (1997)
notification solutions (1997)
&fieldsdir=ra truely random?? (2000)
Potential Conflicts? (1997)
[WebDNA] maybe silly suggestion? [founditems] (2015)
WebMerchant 3.0 for Mac shipping now (1998)
[Fileinfo] Context (2000)
WebCatalog2 Feature Feedback (1996)
Interfacing WebMerchant to www.fedex.com (1997)
Unexpected error (1997)
WebCat with WebTen (1998)
Trying to evaluate data that is stored in an indexed variable... (2000)
Mail Service Dead (1998)
Comments in db? (1997)
Emailer choke (1997)
Search a date field by month only... (1999)
[WebDNA] WebSite Examples (2008)