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:
Weird cart problem (webcat 2.x) (2000)
WebCat2: multiple currency support (1997)
Major Security Hole (1998)
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
Help! WebCat2 bug (1997)
PIXO support (1997)
Emailer help....! (1997)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
webcat method for waiting specific amount of time? (2000)
Questions (1998)
Freeze (2003)
Shopping Cart Limits? (1998)
Slow [spawn] (2003)
Location of Webcat site in folder hierarchy (1997)
page not found redirect (1999)
Help! WebCat2 bug (1997)
CyberCash book/ship model (2000)
select multiple (1997)
Running _every_ page through WebCat ? (1997)
Close Databases Crash? (1998)